pub struct PatchedWritableVirtualChassisRequest {
pub name: Option<String>,
pub domain: Option<String>,
pub master: Option<Option<i32>>,
pub description: Option<String>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
PatchedWritableVirtualChassisRequest : Adds support for custom fields and tags.
Fields§
§name: Option<String>§domain: Option<String>§master: Option<Option<i32>>§description: Option<String>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedWritableVirtualChassisRequest
impl PatchedWritableVirtualChassisRequest
Sourcepub fn new() -> PatchedWritableVirtualChassisRequest
pub fn new() -> PatchedWritableVirtualChassisRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for PatchedWritableVirtualChassisRequest
impl Clone for PatchedWritableVirtualChassisRequest
Source§fn clone(&self) -> PatchedWritableVirtualChassisRequest
fn clone(&self) -> PatchedWritableVirtualChassisRequest
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 Default for PatchedWritableVirtualChassisRequest
impl Default for PatchedWritableVirtualChassisRequest
Source§fn default() -> PatchedWritableVirtualChassisRequest
fn default() -> PatchedWritableVirtualChassisRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedWritableVirtualChassisRequest
impl<'de> Deserialize<'de> for PatchedWritableVirtualChassisRequest
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 PatchedWritableVirtualChassisRequest
impl PartialEq for PatchedWritableVirtualChassisRequest
Source§fn eq(&self, other: &PatchedWritableVirtualChassisRequest) -> bool
fn eq(&self, other: &PatchedWritableVirtualChassisRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedWritableVirtualChassisRequest
Auto Trait Implementations§
impl Freeze for PatchedWritableVirtualChassisRequest
impl RefUnwindSafe for PatchedWritableVirtualChassisRequest
impl Send for PatchedWritableVirtualChassisRequest
impl Sync for PatchedWritableVirtualChassisRequest
impl Unpin for PatchedWritableVirtualChassisRequest
impl UnwindSafe for PatchedWritableVirtualChassisRequest
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