pub struct OperationCreate {
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 OperationCreate
impl OperationCreate
pub fn new() -> OperationCreate
Trait Implementations§
Source§impl Clone for OperationCreate
impl Clone for OperationCreate
Source§fn clone(&self) -> OperationCreate
fn clone(&self) -> OperationCreate
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 OperationCreate
impl Debug for OperationCreate
Source§impl Default for OperationCreate
impl Default for OperationCreate
Source§fn default() -> OperationCreate
fn default() -> OperationCreate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperationCreate
impl<'de> Deserialize<'de> for OperationCreate
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 OperationCreate
impl PartialEq for OperationCreate
Source§impl Serialize for OperationCreate
impl Serialize for OperationCreate
impl StructuralPartialEq for OperationCreate
Auto Trait Implementations§
impl Freeze for OperationCreate
impl RefUnwindSafe for OperationCreate
impl Send for OperationCreate
impl Sync for OperationCreate
impl Unpin for OperationCreate
impl UnsafeUnpin for OperationCreate
impl UnwindSafe for OperationCreate
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