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