pub struct OperationBase {
pub method: Option<Method>,
pub domain: Option<String>,
pub path: Option<String>,
pub description: Option<String>,
pub tag_ids: Option<Vec<String>>,
}Fields§
§method: Option<Method>The HTTP method for the operation.
domain: Option<String>The domain for the operation.
path: Option<String>The path for the operation, which may include path parameters.
description: Option<String>A description of what the operation does.
tag_ids: Option<Vec<String>>An array of operation tag IDs associated with this operation.
Implementations§
Source§impl OperationBase
impl OperationBase
pub fn new() -> OperationBase
Trait Implementations§
Source§impl Clone for OperationBase
impl Clone for OperationBase
Source§fn clone(&self) -> OperationBase
fn clone(&self) -> OperationBase
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 OperationBase
impl Debug for OperationBase
Source§impl Default for OperationBase
impl Default for OperationBase
Source§fn default() -> OperationBase
fn default() -> OperationBase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperationBase
impl<'de> Deserialize<'de> for OperationBase
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 OperationBase
impl PartialEq for OperationBase
Source§impl Serialize for OperationBase
impl Serialize for OperationBase
impl StructuralPartialEq for OperationBase
Auto Trait Implementations§
impl Freeze for OperationBase
impl RefUnwindSafe for OperationBase
impl Send for OperationBase
impl Sync for OperationBase
impl Unpin for OperationBase
impl UnsafeUnpin for OperationBase
impl UnwindSafe for OperationBase
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