pub enum IntentPayload {
TransferSol {
to: String,
lamports: u64,
},
}Variants§
Trait Implementations§
Source§impl Clone for IntentPayload
impl Clone for IntentPayload
Source§fn clone(&self) -> IntentPayload
fn clone(&self) -> IntentPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntentPayload
impl Debug for IntentPayload
Source§impl<'de> Deserialize<'de> for IntentPayload
impl<'de> Deserialize<'de> for IntentPayload
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
Source§impl PartialEq for IntentPayload
impl PartialEq for IntentPayload
Source§fn eq(&self, other: &IntentPayload) -> bool
fn eq(&self, other: &IntentPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IntentPayload
impl Serialize for IntentPayload
impl Eq for IntentPayload
impl StructuralPartialEq for IntentPayload
Auto Trait Implementations§
impl Freeze for IntentPayload
impl RefUnwindSafe for IntentPayload
impl Send for IntentPayload
impl Sync for IntentPayload
impl Unpin for IntentPayload
impl UnsafeUnpin for IntentPayload
impl UnwindSafe for IntentPayload
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