pub struct PatchedWritableInterfaceTemplateRequest {Show 13 fields
pub id: Option<Uuid>,
pub name: Option<String>,
pub label: Option<String>,
pub description: Option<String>,
pub type: Option<InterfaceTypeChoices>,
pub port_type: Option<Box<PatchedWritableInterfaceRequestPortType>>,
pub mgmt_only: Option<bool>,
pub speed: Option<Option<i32>>,
pub duplex: Option<Box<BulkWritableInterfaceTemplateRequestDuplex>>,
pub device_type: Option<Option<Box<ApprovalWorkflowUser>>>,
pub module_type: Option<Option<Box<ApprovalWorkflowUser>>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
}Expand description
PatchedWritableInterfaceTemplateRequest : Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Fields§
§id: Option<Uuid>§name: Option<String>§label: Option<String>Physical label
description: Option<String>§type: Option<InterfaceTypeChoices>§port_type: Option<Box<PatchedWritableInterfaceRequestPortType>>§mgmt_only: Option<bool>§speed: Option<Option<i32>>§duplex: Option<Box<BulkWritableInterfaceTemplateRequestDuplex>>§device_type: Option<Option<Box<ApprovalWorkflowUser>>>§module_type: Option<Option<Box<ApprovalWorkflowUser>>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl PatchedWritableInterfaceTemplateRequest
impl PatchedWritableInterfaceTemplateRequest
Sourcepub fn new() -> PatchedWritableInterfaceTemplateRequest
pub fn new() -> PatchedWritableInterfaceTemplateRequest
Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Trait Implementations§
Source§impl Clone for PatchedWritableInterfaceTemplateRequest
impl Clone for PatchedWritableInterfaceTemplateRequest
Source§fn clone(&self) -> PatchedWritableInterfaceTemplateRequest
fn clone(&self) -> PatchedWritableInterfaceTemplateRequest
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 PatchedWritableInterfaceTemplateRequest
impl Default for PatchedWritableInterfaceTemplateRequest
Source§fn default() -> PatchedWritableInterfaceTemplateRequest
fn default() -> PatchedWritableInterfaceTemplateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedWritableInterfaceTemplateRequest
impl<'de> Deserialize<'de> for PatchedWritableInterfaceTemplateRequest
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 PatchedWritableInterfaceTemplateRequest
impl PartialEq for PatchedWritableInterfaceTemplateRequest
Source§fn eq(&self, other: &PatchedWritableInterfaceTemplateRequest) -> bool
fn eq(&self, other: &PatchedWritableInterfaceTemplateRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedWritableInterfaceTemplateRequest
Auto Trait Implementations§
impl Freeze for PatchedWritableInterfaceTemplateRequest
impl RefUnwindSafe for PatchedWritableInterfaceTemplateRequest
impl Send for PatchedWritableInterfaceTemplateRequest
impl Sync for PatchedWritableInterfaceTemplateRequest
impl Unpin for PatchedWritableInterfaceTemplateRequest
impl UnsafeUnpin for PatchedWritableInterfaceTemplateRequest
impl UnwindSafe for PatchedWritableInterfaceTemplateRequest
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