Struct solana_sdk::payment_plan::Payment
source · Expand description
Some amount of tokens that should be sent to the to
Pubkey
.
Fields
tokens: u64
Amount to be paid.
to: Pubkey
The Pubkey
that tokens
should be paid to.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Payment
impl<'de> Deserialize<'de> for Payment
sourcefn 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 Eq for Payment
impl StructuralEq for Payment
impl StructuralPartialEq for Payment
Auto Trait Implementations
impl RefUnwindSafe for Payment
impl Send for Payment
impl Sync for Payment
impl Unpin for Payment
impl UnwindSafe for Payment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more