pub struct ConsolePort {Show 22 fields
pub id: Option<Uuid>,
pub object_type: Option<String>,
pub display: Option<String>,
pub url: Option<String>,
pub natural_slug: Option<String>,
pub cable_peer_type: Option<Option<String>>,
pub cable_peer: Option<Option<Box<CableTermination>>>,
pub connected_endpoint_type: Option<Option<String>>,
pub connected_endpoint: Option<Option<Box<PathEndpoint>>>,
pub connected_endpoint_reachable: Option<Option<bool>>,
pub type: Option<Box<ConsolePortType>>,
pub name: String,
pub label: Option<String>,
pub description: Option<String>,
pub device: Option<Option<Box<ApprovalWorkflowUser>>>,
pub module: Option<Option<Box<ApprovalWorkflowUser>>>,
pub cable: Option<Option<Box<CircuitCircuitTerminationA>>>,
pub created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
pub notes_url: Option<String>,
pub custom_fields: Option<HashMap<String, Value>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
}Expand description
ConsolePort : 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>§object_type: Option<String>§display: Option<String>Human friendly display value
url: Option<String>§natural_slug: Option<String>§cable_peer_type: Option<Option<String>>§cable_peer: Option<Option<Box<CableTermination>>>§connected_endpoint_type: Option<Option<String>>§connected_endpoint: Option<Option<Box<PathEndpoint>>>§connected_endpoint_reachable: Option<Option<bool>>§type: Option<Box<ConsolePortType>>§name: String§label: Option<String>Physical label
description: Option<String>§device: Option<Option<Box<ApprovalWorkflowUser>>>§module: Option<Option<Box<ApprovalWorkflowUser>>>§cable: Option<Option<Box<CircuitCircuitTerminationA>>>§created: Option<Option<String>>§last_updated: Option<Option<String>>§notes_url: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl ConsolePort
impl ConsolePort
Sourcepub fn new(name: String) -> ConsolePort
pub fn new(name: String) -> ConsolePort
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 ConsolePort
impl Clone for ConsolePort
Source§fn clone(&self) -> ConsolePort
fn clone(&self) -> ConsolePort
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 ConsolePort
impl Debug for ConsolePort
Source§impl Default for ConsolePort
impl Default for ConsolePort
Source§fn default() -> ConsolePort
fn default() -> ConsolePort
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsolePort
impl<'de> Deserialize<'de> for ConsolePort
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 ConsolePort
impl PartialEq for ConsolePort
Source§impl Serialize for ConsolePort
impl Serialize for ConsolePort
impl StructuralPartialEq for ConsolePort
Auto Trait Implementations§
impl Freeze for ConsolePort
impl RefUnwindSafe for ConsolePort
impl Send for ConsolePort
impl Sync for ConsolePort
impl Unpin for ConsolePort
impl UnsafeUnpin for ConsolePort
impl UnwindSafe for ConsolePort
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