Struct streamflow::StreamFlow[][src]

#[repr(C)]
pub struct StreamFlow { pub start_time: u64, pub end_time: u64, pub amount: u64, pub withdrawn: u64, pub sender: [u8; 32], pub recipient: [u8; 32], }
Expand description

StreamFlow is the struct containing all our necessary metadata.

Fields

start_time: u64

Timestamp when the funds start unlocking

end_time: u64

Timestamp when all funds should be unlocked

amount: u64

Amount of funds locked

withdrawn: u64

Amount of funds withdrawn

sender: [u8; 32]

Pubkey of the program initializer

recipient: [u8; 32]

Pubkey of the funds’ recipient

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.

Performs the conversion.

Should always be Self

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.