pub struct CreateUnchecked {
Show 16 fields pub start_time: u64, pub net_amount_deposited: u64, pub period: u64, pub amount_per_period: u64, pub cliff: u64, pub cliff_amount: u64, pub cancelable_by_sender: bool, pub cancelable_by_recipient: bool, pub automatic_withdrawal: bool, pub transferable_by_sender: bool, pub transferable_by_recipient: bool, pub can_topup: bool, pub stream_name: [u8; 64], pub withdraw_frequency: u64, pub recipient: Pubkey, pub partner: Pubkey,
}
Expand description

Instruction.

Fields

start_time: u64net_amount_deposited: u64period: u64amount_per_period: u64cliff: u64cliff_amount: u64cancelable_by_sender: boolcancelable_by_recipient: boolautomatic_withdrawal: booltransferable_by_sender: booltransferable_by_recipient: boolcan_topup: boolstream_name: [u8; 64]withdraw_frequency: u64recipient: Pubkeypartner: Pubkey

Trait Implementations

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes. Read more

Deserialize this instance from a slice of bytes.

Serialize this instance into a vector of bytes.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.