pub struct PriceStruct {
pub amount: i64,
pub currency: CurrencyStruct,
}Expand description
PriceStruct.
Fields§
§amount: i64Amount, field 0.
currency: CurrencyStructCurrency, field 1.
Trait Implementations§
Source§impl Clone for PriceStruct
impl Clone for PriceStruct
Source§fn clone(&self) -> PriceStruct
fn clone(&self) -> PriceStruct
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 PriceStruct
Source§impl Debug for PriceStruct
impl Debug for PriceStruct
Source§impl<'a> FromTlv<'a> for PriceStruct
impl<'a> FromTlv<'a> for PriceStruct
Source§impl PartialEq for PriceStruct
impl PartialEq for PriceStruct
impl StructuralPartialEq for PriceStruct
Auto Trait Implementations§
impl Freeze for PriceStruct
impl RefUnwindSafe for PriceStruct
impl Send for PriceStruct
impl Sync for PriceStruct
impl Unpin for PriceStruct
impl UnsafeUnpin for PriceStruct
impl UnwindSafe for PriceStruct
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