pub struct Transfer {
pub timestamp: String,
pub address: String,
pub hash: String,
pub persistence: bool,
pub value: i64,
pub message: String,
pub tag: String,
pub obsolete_tag: String,
}Expand description
Represents a transfer in IOTA
Fields§
§timestamp: StringUnix epoch: Seconds since Jan 1, 1970
address: StringContains either the sender or recipient’s address
hash: StringTransaction hash
persistence: boolPersistence
value: i64Amount of IOTA tokens to deposit to or withdraw from the address
message: StringMessage of the transfer
tag: StringUser-defined tag
obsolete_tag: StringUser-defined tag (soon to be removed)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Transfer
impl<'de> Deserialize<'de> for Transfer
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
impl StructuralPartialEq for Transfer
Auto Trait Implementations§
impl Freeze for Transfer
impl RefUnwindSafe for Transfer
impl Send for Transfer
impl Sync for Transfer
impl Unpin for Transfer
impl UnwindSafe for Transfer
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