pub struct BaseboardFeatures {
pub hosting_board: bool,
pub requires_daughterboard: bool,
pub is_removable: bool,
pub is_replaceable: bool,
pub is_hot_swappable: bool,
}Expand description
Baseboard feature flags
Collection of flags that identify features of this board
Fields§
§hosting_board: boolSet if the board is a hosting board (e.g. motherboard)
requires_daughterboard: boolSet if the board requires at least one daughter board or auxiliary card to function properly
is_removable: boolSet if the board is removable; it is designed to be taken in and out of the chassis without impairing the function of the chassis
is_replaceable: boolSet if the board is replaceable; it is possible to replace (either as a field repair or as an upgrade) the board with a physically different board. The board is inherently removable
is_hot_swappable: boolSet if the board if hot swappable; it is possible to replace the board with a physically different but equivalent board while power is applied to the board. The board is inherently replaceable and removable.
Trait Implementations§
Source§impl Clone for BaseboardFeatures
impl Clone for BaseboardFeatures
Source§fn clone(&self) -> BaseboardFeatures
fn clone(&self) -> BaseboardFeatures
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 BaseboardFeatures
impl Debug for BaseboardFeatures
Source§impl<'de> Deserialize<'de> for BaseboardFeatures
impl<'de> Deserialize<'de> for BaseboardFeatures
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 From<BaseboardFeatures> for BaseboardFeatures
impl From<BaseboardFeatures> for BaseboardFeatures
Source§fn from(value: BaseboardFeatures) -> Self
fn from(value: BaseboardFeatures) -> Self
Converts to this type from the input type.
Source§impl Serialize for BaseboardFeatures
impl Serialize for BaseboardFeatures
Auto Trait Implementations§
impl Freeze for BaseboardFeatures
impl RefUnwindSafe for BaseboardFeatures
impl Send for BaseboardFeatures
impl Sync for BaseboardFeatures
impl Unpin for BaseboardFeatures
impl UnwindSafe for BaseboardFeatures
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more