#derive #api #building #iceportal

yanked iceportal_derive

Derives for building the api's of iceportal

1.0.3 Dec 28, 2022

#371 in #building

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

~2MB
~45K SLoC