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: bool

returns a stream of bytes for this struct

Trait Implementations§

Formats the value using the given formatter. Read more
Create an instance from syn::DeriveInput, or return an error.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.