Struct crud_api_endpoint::Api
source · pub struct Api {
pub ident: Ident,
pub data: Data<ApiVariant, ApiField>,
pub attrs: Vec<Attribute>,
pub endpoint: Vec<Endpoint>,
pub result_is_stream: bool,
}
Fields§
§ident: Ident
§data: Data<ApiVariant, ApiField>
§attrs: Vec<Attribute>
§endpoint: Vec<Endpoint>
§result_is_stream: bool
returns a stream of bytes for this struct
Trait Implementations§
source§impl FromDeriveInput for Api
impl FromDeriveInput for Api
source§fn from_derive_input(__di: &DeriveInput) -> Result<Self>
fn from_derive_input(__di: &DeriveInput) -> Result<Self>
Create an instance from
syn::DeriveInput
, or return an error.Auto Trait Implementations§
impl RefUnwindSafe for Api
impl !Send for Api
impl !Sync for Api
impl Unpin 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