pub struct TransactionLog {
pub to: String,
pub from: String,
pub amount: u32,
pub time: i64,
}
Expand description
Struct that describes the format of the logs returned by
get_logs
.
Fields§
§to: String
The account to which the funds were sent to.
from: String
The account from which the funds were sent from.
amount: u32
The amount of CSH that was sent.
time: i64
The time that the funds were sent in Unix epoch time.
Trait Implementations§
Source§impl Debug for TransactionLog
impl Debug for TransactionLog
Source§impl<'de> Deserialize<'de> for TransactionLog
impl<'de> Deserialize<'de> for TransactionLog
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 TransactionLog
impl RefUnwindSafe for TransactionLog
impl Send for TransactionLog
impl Sync for TransactionLog
impl Unpin for TransactionLog
impl UnwindSafe for TransactionLog
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