#derive #api #building #iceportal

yanked iceportal_derive

Derives for building the api's of iceportal

1.0.3 Dec 28, 2022

#342 in #building

Download history 3/week @ 2024-02-20 18/week @ 2024-02-27 1/week @ 2024-03-05 6/week @ 2024-03-12 9/week @ 2024-03-26 37/week @ 2024-04-02

53 downloads per month

AGPL-3.0

3KB

iceportal_derive

Derives for iceportal ResponseObjects. The ResponseObject trait from the iceportal crate will be implemented on the struct with the default fetch function. Add the url argument like that: #[response_object(url = "/api1/rs/tripInfo/connection/{eva_number}")]. This will implemented in the T::url() function.

Dependencies

~1.5MB
~41K SLoC