Struct ccash_rs::TransactionLog[][src]

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

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.