pub struct OperationalDegradedCount(/* private fields */);Expand description
Represents the operational degraded count.
Implementations§
Source§impl OperationalDegradedCount
impl OperationalDegradedCount
Sourcepub const fn new() -> OperationalDegradedCount
pub const fn new() -> OperationalDegradedCount
Creates a new OperationalDegradedCount.
Sourcepub const fn create(val: u32) -> OperationalDegradedCount
pub const fn create(val: u32) -> OperationalDegradedCount
Creates a new OperationalDegradedCount from the provided parameter.
Sourcepub fn set_inner(&mut self, val: u32)
pub fn set_inner(&mut self, val: u32)
Sets the inner representation of OperationalDegradedCount.
Sourcepub fn into_inner(self) -> u32
pub fn into_inner(self) -> u32
Converts into the inner representation of OperationalDegradedCount.
Trait Implementations§
Source§impl Clone for OperationalDegradedCount
impl Clone for OperationalDegradedCount
Source§fn clone(&self) -> OperationalDegradedCount
fn clone(&self) -> OperationalDegradedCount
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 OperationalDegradedCount
impl Debug for OperationalDegradedCount
Source§impl Default for OperationalDegradedCount
impl Default for OperationalDegradedCount
Source§fn default() -> OperationalDegradedCount
fn default() -> OperationalDegradedCount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperationalDegradedCount
impl<'de> Deserialize<'de> for OperationalDegradedCount
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OperationalDegradedCount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OperationalDegradedCount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OperationalDegradedCount
impl Display for OperationalDegradedCount
Source§impl From<&OperationalDegradedCount> for XfsMember
impl From<&OperationalDegradedCount> for XfsMember
Source§fn from(val: &OperationalDegradedCount) -> XfsMember
fn from(val: &OperationalDegradedCount) -> XfsMember
Converts to this type from the input type.
Source§impl From<&OperationalDegradedCount> for XfsValue
impl From<&OperationalDegradedCount> for XfsValue
Source§fn from(val: &OperationalDegradedCount) -> XfsValue
fn from(val: &OperationalDegradedCount) -> XfsValue
Converts to this type from the input type.
Source§impl From<&i32> for OperationalDegradedCount
impl From<&i32> for OperationalDegradedCount
Source§fn from(val: &i32) -> OperationalDegradedCount
fn from(val: &i32) -> OperationalDegradedCount
Converts to this type from the input type.
Source§impl From<&u32> for OperationalDegradedCount
impl From<&u32> for OperationalDegradedCount
Source§fn from(val: &u32) -> OperationalDegradedCount
fn from(val: &u32) -> OperationalDegradedCount
Converts to this type from the input type.
Source§impl From<OperationalDegradedCount> for XfsMember
impl From<OperationalDegradedCount> for XfsMember
Source§fn from(val: OperationalDegradedCount) -> XfsMember
fn from(val: OperationalDegradedCount) -> XfsMember
Converts to this type from the input type.
Source§impl From<OperationalDegradedCount> for XfsValue
impl From<OperationalDegradedCount> for XfsValue
Source§fn from(val: OperationalDegradedCount) -> XfsValue
fn from(val: OperationalDegradedCount) -> XfsValue
Converts to this type from the input type.
Source§impl From<i32> for OperationalDegradedCount
impl From<i32> for OperationalDegradedCount
Source§fn from(val: i32) -> OperationalDegradedCount
fn from(val: i32) -> OperationalDegradedCount
Converts to this type from the input type.
Source§impl From<u32> for OperationalDegradedCount
impl From<u32> for OperationalDegradedCount
Source§fn from(val: u32) -> OperationalDegradedCount
fn from(val: u32) -> OperationalDegradedCount
Converts to this type from the input type.
Source§impl PartialEq for OperationalDegradedCount
impl PartialEq for OperationalDegradedCount
Source§impl Serialize for OperationalDegradedCount
impl Serialize for OperationalDegradedCount
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&XfsMember> for OperationalDegradedCount
impl TryFrom<&XfsMember> for OperationalDegradedCount
Source§impl TryFrom<&XfsValue> for OperationalDegradedCount
impl TryFrom<&XfsValue> for OperationalDegradedCount
Source§impl TryFrom<XfsMember> for OperationalDegradedCount
impl TryFrom<XfsMember> for OperationalDegradedCount
Source§impl TryFrom<XfsValue> for OperationalDegradedCount
impl TryFrom<XfsValue> for OperationalDegradedCount
impl Copy for OperationalDegradedCount
impl Eq for OperationalDegradedCount
impl StructuralPartialEq for OperationalDegradedCount
Auto Trait Implementations§
impl Freeze for OperationalDegradedCount
impl RefUnwindSafe for OperationalDegradedCount
impl Send for OperationalDegradedCount
impl Sync for OperationalDegradedCount
impl Unpin for OperationalDegradedCount
impl UnwindSafe for OperationalDegradedCount
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