pub struct HardwareFailureWithBillStoppedCount(/* private fields */);Expand description
Represents the hardware failure with bill stopped count.
Implementations§
Source§impl HardwareFailureWithBillStoppedCount
impl HardwareFailureWithBillStoppedCount
Sourcepub const fn new() -> HardwareFailureWithBillStoppedCount
pub const fn new() -> HardwareFailureWithBillStoppedCount
Creates a new HardwareFailureWithBillStoppedCount.
Sourcepub const fn create(val: u32) -> HardwareFailureWithBillStoppedCount
pub const fn create(val: u32) -> HardwareFailureWithBillStoppedCount
Creates a new HardwareFailureWithBillStoppedCount from the provided parameter.
Sourcepub const fn inner(&self) -> u32
pub const fn inner(&self) -> u32
Gets the inner representation of HardwareFailureWithBillStoppedCount.
Sourcepub fn set_inner(&mut self, val: u32)
pub fn set_inner(&mut self, val: u32)
Sets the inner representation of HardwareFailureWithBillStoppedCount.
Sourcepub fn into_inner(self) -> u32
pub fn into_inner(self) -> u32
Converts into the inner representation of HardwareFailureWithBillStoppedCount.
Trait Implementations§
Source§impl Clone for HardwareFailureWithBillStoppedCount
impl Clone for HardwareFailureWithBillStoppedCount
Source§fn clone(&self) -> HardwareFailureWithBillStoppedCount
fn clone(&self) -> HardwareFailureWithBillStoppedCount
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 Default for HardwareFailureWithBillStoppedCount
impl Default for HardwareFailureWithBillStoppedCount
Source§fn default() -> HardwareFailureWithBillStoppedCount
fn default() -> HardwareFailureWithBillStoppedCount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HardwareFailureWithBillStoppedCount
impl<'de> Deserialize<'de> for HardwareFailureWithBillStoppedCount
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<HardwareFailureWithBillStoppedCount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<HardwareFailureWithBillStoppedCount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&HardwareFailureWithBillStoppedCount> for XfsMember
impl From<&HardwareFailureWithBillStoppedCount> for XfsMember
Source§fn from(val: &HardwareFailureWithBillStoppedCount) -> XfsMember
fn from(val: &HardwareFailureWithBillStoppedCount) -> XfsMember
Converts to this type from the input type.
Source§impl From<&HardwareFailureWithBillStoppedCount> for XfsValue
impl From<&HardwareFailureWithBillStoppedCount> for XfsValue
Source§fn from(val: &HardwareFailureWithBillStoppedCount) -> XfsValue
fn from(val: &HardwareFailureWithBillStoppedCount) -> XfsValue
Converts to this type from the input type.
Source§impl From<&i32> for HardwareFailureWithBillStoppedCount
impl From<&i32> for HardwareFailureWithBillStoppedCount
Source§fn from(val: &i32) -> HardwareFailureWithBillStoppedCount
fn from(val: &i32) -> HardwareFailureWithBillStoppedCount
Converts to this type from the input type.
Source§impl From<&u32> for HardwareFailureWithBillStoppedCount
impl From<&u32> for HardwareFailureWithBillStoppedCount
Source§fn from(val: &u32) -> HardwareFailureWithBillStoppedCount
fn from(val: &u32) -> HardwareFailureWithBillStoppedCount
Converts to this type from the input type.
Source§impl From<HardwareFailureWithBillStoppedCount> for XfsMember
impl From<HardwareFailureWithBillStoppedCount> for XfsMember
Source§fn from(val: HardwareFailureWithBillStoppedCount) -> XfsMember
fn from(val: HardwareFailureWithBillStoppedCount) -> XfsMember
Converts to this type from the input type.
Source§impl From<HardwareFailureWithBillStoppedCount> for XfsValue
impl From<HardwareFailureWithBillStoppedCount> for XfsValue
Source§fn from(val: HardwareFailureWithBillStoppedCount) -> XfsValue
fn from(val: HardwareFailureWithBillStoppedCount) -> XfsValue
Converts to this type from the input type.
Source§impl From<i32> for HardwareFailureWithBillStoppedCount
impl From<i32> for HardwareFailureWithBillStoppedCount
Source§fn from(val: i32) -> HardwareFailureWithBillStoppedCount
fn from(val: i32) -> HardwareFailureWithBillStoppedCount
Converts to this type from the input type.
Source§impl From<u32> for HardwareFailureWithBillStoppedCount
impl From<u32> for HardwareFailureWithBillStoppedCount
Source§fn from(val: u32) -> HardwareFailureWithBillStoppedCount
fn from(val: u32) -> HardwareFailureWithBillStoppedCount
Converts to this type from the input type.
Source§impl PartialEq for HardwareFailureWithBillStoppedCount
impl PartialEq for HardwareFailureWithBillStoppedCount
Source§fn eq(&self, other: &HardwareFailureWithBillStoppedCount) -> bool
fn eq(&self, other: &HardwareFailureWithBillStoppedCount) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HardwareFailureWithBillStoppedCount
impl Serialize for HardwareFailureWithBillStoppedCount
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
impl Copy for HardwareFailureWithBillStoppedCount
impl Eq for HardwareFailureWithBillStoppedCount
impl StructuralPartialEq for HardwareFailureWithBillStoppedCount
Auto Trait Implementations§
impl Freeze for HardwareFailureWithBillStoppedCount
impl RefUnwindSafe for HardwareFailureWithBillStoppedCount
impl Send for HardwareFailureWithBillStoppedCount
impl Sync for HardwareFailureWithBillStoppedCount
impl Unpin for HardwareFailureWithBillStoppedCount
impl UnwindSafe for HardwareFailureWithBillStoppedCount
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