pub struct PatchedBulkWritableInterfaceTemplateRequest {Show 13 fields
pub id: Uuid,
pub type: Option<InterfaceTypeChoices>,
pub port_type: Option<PortTypeChoices>,
pub name: Option<String>,
pub label: Option<String>,
pub description: Option<String>,
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
PatchedBulkWritableInterfaceTemplateRequest : 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: Uuid§type: Option<InterfaceTypeChoices>§port_type: Option<PortTypeChoices>§name: Option<String>§label: Option<String>Physical label
description: Option<String>§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 PatchedBulkWritableInterfaceTemplateRequest
impl PatchedBulkWritableInterfaceTemplateRequest
Sourcepub fn new(id: Uuid) -> PatchedBulkWritableInterfaceTemplateRequest
pub fn new(id: Uuid) -> PatchedBulkWritableInterfaceTemplateRequest
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 PatchedBulkWritableInterfaceTemplateRequest
impl Clone for PatchedBulkWritableInterfaceTemplateRequest
Source§fn clone(&self) -> PatchedBulkWritableInterfaceTemplateRequest
fn clone(&self) -> PatchedBulkWritableInterfaceTemplateRequest
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 PatchedBulkWritableInterfaceTemplateRequest
impl Default for PatchedBulkWritableInterfaceTemplateRequest
Source§fn default() -> PatchedBulkWritableInterfaceTemplateRequest
fn default() -> PatchedBulkWritableInterfaceTemplateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedBulkWritableInterfaceTemplateRequest
impl<'de> Deserialize<'de> for PatchedBulkWritableInterfaceTemplateRequest
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 PatchedBulkWritableInterfaceTemplateRequest
impl PartialEq for PatchedBulkWritableInterfaceTemplateRequest
Source§fn eq(&self, other: &PatchedBulkWritableInterfaceTemplateRequest) -> bool
fn eq(&self, other: &PatchedBulkWritableInterfaceTemplateRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedBulkWritableInterfaceTemplateRequest
Auto Trait Implementations§
impl Freeze for PatchedBulkWritableInterfaceTemplateRequest
impl RefUnwindSafe for PatchedBulkWritableInterfaceTemplateRequest
impl Send for PatchedBulkWritableInterfaceTemplateRequest
impl Sync for PatchedBulkWritableInterfaceTemplateRequest
impl Unpin for PatchedBulkWritableInterfaceTemplateRequest
impl UnsafeUnpin for PatchedBulkWritableInterfaceTemplateRequest
impl UnwindSafe for PatchedBulkWritableInterfaceTemplateRequest
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