Struct clockwork_sdk::cpi::ThreadDelete
source · pub struct ThreadDelete<'info> {
pub authority: AccountInfo<'info>,
pub close_to: AccountInfo<'info>,
pub thread: AccountInfo<'info>,
}
Expand description
Generated CPI struct of the accounts for ThreadDelete
.
Fields§
The authority (owner) of the thread.
close_to: AccountInfo<'info>
The address to return the data rent lamports to.
thread: AccountInfo<'info>
The thread to be delete.
Trait Implementations§
source§impl<'info> ToAccountInfos<'info> for ThreadDelete<'info>
impl<'info> ToAccountInfos<'info> for ThreadDelete<'info>
fn to_account_infos(&self) -> Vec<AccountInfo<'info>, Global>
source§impl<'info> ToAccountMetas for ThreadDelete<'info>
impl<'info> ToAccountMetas for ThreadDelete<'info>
source§fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta, Global>
fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta, Global>
is_signer
is given as an optional override for the signer meta field.
This covers the edge case when a program-derived-address needs to relay
a transaction from a client to another program but sign the transaction
before the relay. The client cannot mark the field as a signer, and so
we have to override the is_signer meta field given by the client.Auto Trait Implementations§
impl<'info> !RefUnwindSafe for ThreadDelete<'info>
impl<'info> !Send for ThreadDelete<'info>
impl<'info> !Sync for ThreadDelete<'info>
impl<'info> Unpin for ThreadDelete<'info>
impl<'info> !UnwindSafe for ThreadDelete<'info>
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