pub struct IotPayment {
pub amount: Iot,
pub memo: Option<String>,
pub payee: String,
}
Fields§
§amount: Iot
§memo: Option<String>
§payee: String
Trait Implementations§
Source§impl Clone for IotPayment
impl Clone for IotPayment
Source§fn clone(&self) -> IotPayment
fn clone(&self) -> IotPayment
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 IotPayment
impl Debug for IotPayment
Source§impl<'de> Deserialize<'de> for IotPayment
impl<'de> Deserialize<'de> for IotPayment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IotPayment
impl RefUnwindSafe for IotPayment
impl Send for IotPayment
impl Sync for IotPayment
impl Unpin for IotPayment
impl UnwindSafe for IotPayment
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