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: String
Unix epoch: Seconds since Jan 1, 1970
address: String
Contains either the sender or recipient’s address
hash: String
Transaction hash
persistence: bool
Persistence
value: i64
Amount of IOTA tokens to deposit to or withdraw from the address
message: String
Message of the transfer
tag: String
User-defined tag
obsolete_tag: String
User-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