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