pub struct OtherDenominationCount(/* private fields */);Expand description
Represents the other denomination count.
Implementations§
Source§impl OtherDenominationCount
impl OtherDenominationCount
Sourcepub const fn new() -> OtherDenominationCount
pub const fn new() -> OtherDenominationCount
Creates a new OtherDenominationCount.
Sourcepub const fn create(val: u32) -> OtherDenominationCount
pub const fn create(val: u32) -> OtherDenominationCount
Creates a new OtherDenominationCount from the provided parameter.
Sourcepub fn into_inner(self) -> u32
pub fn into_inner(self) -> u32
Converts into the inner representation of OtherDenominationCount.
Trait Implementations§
Source§impl Clone for OtherDenominationCount
impl Clone for OtherDenominationCount
Source§fn clone(&self) -> OtherDenominationCount
fn clone(&self) -> OtherDenominationCount
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 OtherDenominationCount
impl Debug for OtherDenominationCount
Source§impl Default for OtherDenominationCount
impl Default for OtherDenominationCount
Source§fn default() -> OtherDenominationCount
fn default() -> OtherDenominationCount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OtherDenominationCount
impl<'de> Deserialize<'de> for OtherDenominationCount
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OtherDenominationCount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OtherDenominationCount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OtherDenominationCount
impl Display for OtherDenominationCount
Source§impl From<&OtherDenominationCount> for XfsMember
impl From<&OtherDenominationCount> for XfsMember
Source§fn from(val: &OtherDenominationCount) -> XfsMember
fn from(val: &OtherDenominationCount) -> XfsMember
Converts to this type from the input type.
Source§impl From<&OtherDenominationCount> for XfsValue
impl From<&OtherDenominationCount> for XfsValue
Source§fn from(val: &OtherDenominationCount) -> XfsValue
fn from(val: &OtherDenominationCount) -> XfsValue
Converts to this type from the input type.
Source§impl From<&i32> for OtherDenominationCount
impl From<&i32> for OtherDenominationCount
Source§fn from(val: &i32) -> OtherDenominationCount
fn from(val: &i32) -> OtherDenominationCount
Converts to this type from the input type.
Source§impl From<&u32> for OtherDenominationCount
impl From<&u32> for OtherDenominationCount
Source§fn from(val: &u32) -> OtherDenominationCount
fn from(val: &u32) -> OtherDenominationCount
Converts to this type from the input type.
Source§impl From<OtherDenominationCount> for XfsMember
impl From<OtherDenominationCount> for XfsMember
Source§fn from(val: OtherDenominationCount) -> XfsMember
fn from(val: OtherDenominationCount) -> XfsMember
Converts to this type from the input type.
Source§impl From<OtherDenominationCount> for XfsValue
impl From<OtherDenominationCount> for XfsValue
Source§fn from(val: OtherDenominationCount) -> XfsValue
fn from(val: OtherDenominationCount) -> XfsValue
Converts to this type from the input type.
Source§impl From<i32> for OtherDenominationCount
impl From<i32> for OtherDenominationCount
Source§fn from(val: i32) -> OtherDenominationCount
fn from(val: i32) -> OtherDenominationCount
Converts to this type from the input type.
Source§impl From<u32> for OtherDenominationCount
impl From<u32> for OtherDenominationCount
Source§fn from(val: u32) -> OtherDenominationCount
fn from(val: u32) -> OtherDenominationCount
Converts to this type from the input type.
Source§impl PartialEq for OtherDenominationCount
impl PartialEq for OtherDenominationCount
Source§impl Serialize for OtherDenominationCount
impl Serialize for OtherDenominationCount
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 OtherDenominationCount
impl TryFrom<&XfsMember> for OtherDenominationCount
Source§impl TryFrom<&XfsValue> for OtherDenominationCount
impl TryFrom<&XfsValue> for OtherDenominationCount
Source§impl TryFrom<XfsMember> for OtherDenominationCount
impl TryFrom<XfsMember> for OtherDenominationCount
Source§impl TryFrom<XfsValue> for OtherDenominationCount
impl TryFrom<XfsValue> for OtherDenominationCount
impl Copy for OtherDenominationCount
impl Eq for OtherDenominationCount
impl StructuralPartialEq for OtherDenominationCount
Auto Trait Implementations§
impl Freeze for OtherDenominationCount
impl RefUnwindSafe for OtherDenominationCount
impl Send for OtherDenominationCount
impl Sync for OtherDenominationCount
impl Unpin for OtherDenominationCount
impl UnwindSafe for OtherDenominationCount
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