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