Struct crud_api_endpoint::Api
source · pub struct Api {
pub ident: Ident,
pub data: Data<ApiVariant, ApiField>,
pub endpoint: Vec<Endpoint>,
pub result_is_stream: bool,
}Fields§
§ident: Ident§data: Data<ApiVariant, ApiField>§endpoint: Vec<Endpoint>§result_is_stream: boolreturns 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.