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