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