pub struct ApiRouteIR {
pub path: String,
pub method: ApiMethod,
pub handler: ApiHandlerIR,
pub middlewares: Vec<String>,
pub response_format: ResponseFormat,
pub parameters: ApiParameters,
pub metadata: ApiMetadata,
}
Expand description
APIルートIR
Fields§
§path: String
§method: ApiMethod
§handler: ApiHandlerIR
§middlewares: Vec<String>
§response_format: ResponseFormat
§parameters: ApiParameters
§metadata: ApiMetadata
Trait Implementations§
Source§impl Clone for ApiRouteIR
impl Clone for ApiRouteIR
Source§fn clone(&self) -> ApiRouteIR
fn clone(&self) -> ApiRouteIR
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ApiRouteIR
impl Debug for ApiRouteIR
Source§impl<'de> Deserialize<'de> for ApiRouteIR
impl<'de> Deserialize<'de> for ApiRouteIR
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ApiRouteIR
impl PartialEq for ApiRouteIR
Source§impl Serialize for ApiRouteIR
impl Serialize for ApiRouteIR
impl StructuralPartialEq for ApiRouteIR
Auto Trait Implementations§
impl Freeze for ApiRouteIR
impl RefUnwindSafe for ApiRouteIR
impl Send for ApiRouteIR
impl Sync for ApiRouteIR
impl Unpin for ApiRouteIR
impl UnwindSafe for ApiRouteIR
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