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() -> ThresholdLow
pub const fn new() -> ThresholdLow
Creates a new ThresholdLow.
Sourcepub const fn create(val: u32) -> ThresholdLow
pub const fn create(val: u32) -> ThresholdLow
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<ThresholdLow, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ThresholdLow, <__D as Deserializer<'de>>::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) -> XfsMember
fn from(val: &ThresholdLow) -> XfsMember
Converts to this type from the input type.
Source§impl From<&ThresholdLow> for XfsValue
impl From<&ThresholdLow> for XfsValue
Source§fn from(val: &ThresholdLow) -> XfsValue
fn from(val: &ThresholdLow) -> XfsValue
Converts to this type from the input type.
Source§impl From<&i32> for ThresholdLow
impl From<&i32> for ThresholdLow
Source§fn from(val: &i32) -> ThresholdLow
fn from(val: &i32) -> ThresholdLow
Converts to this type from the input type.
Source§impl From<&u32> for ThresholdLow
impl From<&u32> for ThresholdLow
Source§fn from(val: &u32) -> ThresholdLow
fn from(val: &u32) -> ThresholdLow
Converts to this type from the input type.
Source§impl From<ThresholdLow> for XfsMember
impl From<ThresholdLow> for XfsMember
Source§fn from(val: ThresholdLow) -> XfsMember
fn from(val: ThresholdLow) -> XfsMember
Converts to this type from the input type.
Source§impl From<ThresholdLow> for XfsValue
impl From<ThresholdLow> for XfsValue
Source§fn from(val: ThresholdLow) -> XfsValue
fn from(val: ThresholdLow) -> XfsValue
Converts to this type from the input type.
Source§impl From<i32> for ThresholdLow
impl From<i32> for ThresholdLow
Source§fn from(val: i32) -> ThresholdLow
fn from(val: i32) -> ThresholdLow
Converts to this type from the input type.
Source§impl From<u32> for ThresholdLow
impl From<u32> for ThresholdLow
Source§fn from(val: u32) -> ThresholdLow
fn from(val: u32) -> ThresholdLow
Converts to this type from the input type.
Source§impl PartialEq for ThresholdLow
impl PartialEq for ThresholdLow
Source§impl Serialize for ThresholdLow
impl Serialize for ThresholdLow
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 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