pub struct Api {
pub name: LitStr,
pub method: Ident,
pub url: LitStr,
pub request: Option<ApiRequest>,
pub response: Vec<DataField>,
}Fields§
§name: LitStr§method: Ident§url: LitStr§request: Option<ApiRequest>§response: Vec<DataField>Auto Trait Implementations§
impl !Send for Api
impl !Sync for Api
impl Freeze for Api
impl RefUnwindSafe for Api
impl Unpin for Api
impl UnsafeUnpin for Api
impl UnwindSafe for Api
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more