pub struct CableStatus {
pub value: Option<Value>,
pub label: Option<Label>,
}Fields§
§value: Option<Value>connected- Connected *planned- Planned *decommissioning- Decommissioning
label: Option<Label>Implementations§
Source§impl CableStatus
impl CableStatus
pub fn new() -> CableStatus
Trait Implementations§
Source§impl Clone for CableStatus
impl Clone for CableStatus
Source§fn clone(&self) -> CableStatus
fn clone(&self) -> CableStatus
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 CableStatus
impl Debug for CableStatus
Source§impl Default for CableStatus
impl Default for CableStatus
Source§fn default() -> CableStatus
fn default() -> CableStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CableStatus
impl<'de> Deserialize<'de> for CableStatus
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 CableStatus
impl PartialEq for CableStatus
Source§impl Serialize for CableStatus
impl Serialize for CableStatus
impl StructuralPartialEq for CableStatus
Auto Trait Implementations§
impl Freeze for CableStatus
impl RefUnwindSafe for CableStatus
impl Send for CableStatus
impl Sync for CableStatus
impl Unpin for CableStatus
impl UnwindSafe for CableStatus
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