pub struct ApiOperation {
pub ident: String,
pub name: Option<String>,
pub module: String,
pub note: Option<String>,
pub tags: Vec<String>,
pub path: String,
pub method: Vec<String>,
pub request: ApiRequest,
pub response: ApiResponse,
pub protocol: String,
}
Fields§
§ident: String
§name: Option<String>
§module: String
§note: Option<String>
§path: String
§method: Vec<String>
§request: ApiRequest
§response: ApiResponse
§protocol: String
Trait Implementations§
Source§impl Clone for ApiOperation
impl Clone for ApiOperation
Source§fn clone(&self) -> ApiOperation
fn clone(&self) -> ApiOperation
Returns a copy 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 ApiOperation
impl Debug for ApiOperation
Source§impl<'de> Deserialize<'de> for ApiOperation
impl<'de> Deserialize<'de> for ApiOperation
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 ApiOperation
impl PartialEq for ApiOperation
Source§impl Serialize for ApiOperation
impl Serialize for ApiOperation
impl StructuralPartialEq for ApiOperation
Auto Trait Implementations§
impl Freeze for ApiOperation
impl RefUnwindSafe for ApiOperation
impl Send for ApiOperation
impl Sync for ApiOperation
impl Unpin for ApiOperation
impl UnwindSafe for ApiOperation
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