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