#[repr(C)]pub struct ThresholdEmpty(/* private fields */);
Expand description
The PCU ThresholdStatus becomes Empty when the bill count is lower or equal to this value.
Implementations§
Source§impl ThresholdEmpty
impl ThresholdEmpty
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new ThresholdEmpty.
Sourcepub const fn create(val: u32) -> Self
pub const fn create(val: u32) -> Self
Creates a new ThresholdEmpty from the provided parameter.
Sourcepub const fn inner(&self) -> u32
pub const fn inner(&self) -> u32
Gets the inner representation of ThresholdEmpty.
Sourcepub fn set_inner(&mut self, val: u32)
pub fn set_inner(&mut self, val: u32)
Gets the inner representation of ThresholdEmpty.
Trait Implementations§
Source§impl Clone for ThresholdEmpty
impl Clone for ThresholdEmpty
Source§fn clone(&self) -> ThresholdEmpty
fn clone(&self) -> ThresholdEmpty
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 ThresholdEmpty
impl Debug for ThresholdEmpty
Source§impl Default for ThresholdEmpty
impl Default for ThresholdEmpty
Source§fn default() -> ThresholdEmpty
fn default() -> ThresholdEmpty
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThresholdEmpty
impl<'de> Deserialize<'de> for ThresholdEmpty
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 Display for ThresholdEmpty
impl Display for ThresholdEmpty
Source§impl From<&ThresholdEmpty> for XfsMember
impl From<&ThresholdEmpty> for XfsMember
Source§fn from(val: &ThresholdEmpty) -> Self
fn from(val: &ThresholdEmpty) -> Self
Converts to this type from the input type.
Source§impl From<&ThresholdEmpty> for XfsValue
impl From<&ThresholdEmpty> for XfsValue
Source§fn from(val: &ThresholdEmpty) -> Self
fn from(val: &ThresholdEmpty) -> Self
Converts to this type from the input type.
Source§impl From<&ThresholdEmpty> for i32
impl From<&ThresholdEmpty> for i32
Source§fn from(val: &ThresholdEmpty) -> Self
fn from(val: &ThresholdEmpty) -> Self
Converts to this type from the input type.
Source§impl From<&ThresholdEmpty> for u32
impl From<&ThresholdEmpty> for u32
Source§fn from(val: &ThresholdEmpty) -> Self
fn from(val: &ThresholdEmpty) -> Self
Converts to this type from the input type.
Source§impl From<&i32> for ThresholdEmpty
impl From<&i32> for ThresholdEmpty
Source§impl From<&u32> for ThresholdEmpty
impl From<&u32> for ThresholdEmpty
Source§impl From<ThresholdEmpty> for XfsMember
impl From<ThresholdEmpty> for XfsMember
Source§fn from(val: ThresholdEmpty) -> Self
fn from(val: ThresholdEmpty) -> Self
Converts to this type from the input type.
Source§impl From<ThresholdEmpty> for XfsValue
impl From<ThresholdEmpty> for XfsValue
Source§fn from(val: ThresholdEmpty) -> Self
fn from(val: ThresholdEmpty) -> Self
Converts to this type from the input type.
Source§impl From<ThresholdEmpty> for i32
impl From<ThresholdEmpty> for i32
Source§fn from(val: ThresholdEmpty) -> Self
fn from(val: ThresholdEmpty) -> Self
Converts to this type from the input type.
Source§impl From<ThresholdEmpty> for u32
impl From<ThresholdEmpty> for u32
Source§fn from(val: ThresholdEmpty) -> Self
fn from(val: ThresholdEmpty) -> Self
Converts to this type from the input type.
Source§impl From<i32> for ThresholdEmpty
impl From<i32> for ThresholdEmpty
Source§impl From<u32> for ThresholdEmpty
impl From<u32> for ThresholdEmpty
Source§impl PartialEq for ThresholdEmpty
impl PartialEq for ThresholdEmpty
Source§impl Serialize for ThresholdEmpty
impl Serialize for ThresholdEmpty
Source§impl TryFrom<&XfsMember> for ThresholdEmpty
impl TryFrom<&XfsMember> for ThresholdEmpty
Source§impl TryFrom<&XfsValue> for ThresholdEmpty
impl TryFrom<&XfsValue> for ThresholdEmpty
Source§impl TryFrom<XfsMember> for ThresholdEmpty
impl TryFrom<XfsMember> for ThresholdEmpty
Source§impl TryFrom<XfsValue> for ThresholdEmpty
impl TryFrom<XfsValue> for ThresholdEmpty
impl Copy for ThresholdEmpty
impl StructuralPartialEq for ThresholdEmpty
Auto Trait Implementations§
impl Freeze for ThresholdEmpty
impl RefUnwindSafe for ThresholdEmpty
impl Send for ThresholdEmpty
impl Sync for ThresholdEmpty
impl Unpin for ThresholdEmpty
impl UnwindSafe for ThresholdEmpty
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