pub struct CurrencyStruct {
pub currency: u16,
pub decimal_points: u8,
}Expand description
CurrencyStruct.
Fields§
§currency: u16Currency, field 0.
decimal_points: u8DecimalPoints, field 1.
Trait Implementations§
Source§impl Clone for CurrencyStruct
impl Clone for CurrencyStruct
Source§fn clone(&self) -> CurrencyStruct
fn clone(&self) -> CurrencyStruct
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CurrencyStruct
Source§impl Debug for CurrencyStruct
impl Debug for CurrencyStruct
Source§impl<'a> FromTlv<'a> for CurrencyStruct
impl<'a> FromTlv<'a> for CurrencyStruct
Source§impl PartialEq for CurrencyStruct
impl PartialEq for CurrencyStruct
impl StructuralPartialEq for CurrencyStruct
Auto Trait Implementations§
impl Freeze for CurrencyStruct
impl RefUnwindSafe for CurrencyStruct
impl Send for CurrencyStruct
impl Sync for CurrencyStruct
impl Unpin for CurrencyStruct
impl UnsafeUnpin for CurrencyStruct
impl UnwindSafe for CurrencyStruct
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