pub struct PostSendV1CraftClawbackRequest {
pub invite_pda: String,
pub sender: String,
}Fields§
§invite_pda: String- Program Derived Address derived by
"invite"and the public key of the invite- Do note that, the invitePDA requires to be generated client side, refer to docs
- Please handle invite code and secret key with highest security as user funds are involved
sender: String- Public key address of the sender
- Since this address funded the invite, it will be the receiving address of the full amount
Trait Implementations§
Source§impl Clone for PostSendV1CraftClawbackRequest
impl Clone for PostSendV1CraftClawbackRequest
Source§fn clone(&self) -> PostSendV1CraftClawbackRequest
fn clone(&self) -> PostSendV1CraftClawbackRequest
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<'de> Deserialize<'de> for PostSendV1CraftClawbackRequest
impl<'de> Deserialize<'de> for PostSendV1CraftClawbackRequest
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
Auto Trait Implementations§
impl Freeze for PostSendV1CraftClawbackRequest
impl RefUnwindSafe for PostSendV1CraftClawbackRequest
impl Send for PostSendV1CraftClawbackRequest
impl Sync for PostSendV1CraftClawbackRequest
impl Unpin for PostSendV1CraftClawbackRequest
impl UnsafeUnpin for PostSendV1CraftClawbackRequest
impl UnwindSafe for PostSendV1CraftClawbackRequest
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