pub struct RackFormFactor {
pub value: Option<Value>,
pub label: Option<Label>,
}Fields§
§value: Option<Value>2-post-frame- 2-post frame *4-post-frame- 4-post frame *4-post-cabinet- 4-post cabinet *wall-frame- Wall-mounted frame *wall-frame-vertical- Wall-mounted frame (vertical) *wall-cabinet- Wall-mounted cabinet *wall-cabinet-vertical- Wall-mounted cabinet (vertical)
label: Option<Label>Implementations§
Source§impl RackFormFactor
impl RackFormFactor
pub fn new() -> RackFormFactor
Trait Implementations§
Source§impl Clone for RackFormFactor
impl Clone for RackFormFactor
Source§fn clone(&self) -> RackFormFactor
fn clone(&self) -> RackFormFactor
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 RackFormFactor
impl Debug for RackFormFactor
Source§impl Default for RackFormFactor
impl Default for RackFormFactor
Source§fn default() -> RackFormFactor
fn default() -> RackFormFactor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RackFormFactor
impl<'de> Deserialize<'de> for RackFormFactor
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 RackFormFactor
impl PartialEq for RackFormFactor
Source§impl Serialize for RackFormFactor
impl Serialize for RackFormFactor
impl StructuralPartialEq for RackFormFactor
Auto Trait Implementations§
impl Freeze for RackFormFactor
impl RefUnwindSafe for RackFormFactor
impl Send for RackFormFactor
impl Sync for RackFormFactor
impl Unpin for RackFormFactor
impl UnwindSafe for RackFormFactor
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