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