pub struct HttpOperation {Show 14 fields
pub name: String,
pub operation_id: String,
pub source: HttpOperationSource,
pub method: HttpMethod,
pub routes: Vec<HttpRoute>,
pub stream: HttpStreamConfig,
pub request_content_type: String,
pub response_content_type: String,
pub security: Option<HttpSecurityProfile>,
pub basic_auth_realm: Option<String>,
pub deprecated: Option<DeprecatedInfo>,
pub request_params: Vec<HttpParam>,
pub response_params: Vec<HttpParam>,
pub return_type: Option<TypeSpec>,
}Fields§
§name: String§operation_id: String§source: HttpOperationSource§method: HttpMethod§routes: Vec<HttpRoute>§stream: HttpStreamConfig§request_content_type: String§response_content_type: String§security: Option<HttpSecurityProfile>§basic_auth_realm: Option<String>§deprecated: Option<DeprecatedInfo>§request_params: Vec<HttpParam>§response_params: Vec<HttpParam>§return_type: Option<TypeSpec>Trait Implementations§
Source§impl Clone for HttpOperation
impl Clone for HttpOperation
Source§fn clone(&self) -> HttpOperation
fn clone(&self) -> HttpOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HttpOperation
impl Debug for HttpOperation
Source§impl<'de> Deserialize<'de> for HttpOperation
impl<'de> Deserialize<'de> for HttpOperation
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
Auto Trait Implementations§
impl Freeze for HttpOperation
impl RefUnwindSafe for HttpOperation
impl Send for HttpOperation
impl Sync for HttpOperation
impl Unpin for HttpOperation
impl UnsafeUnpin for HttpOperation
impl UnwindSafe for HttpOperation
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