pub struct WriteReturnTasksArgs<'info, I: Iterator<Item = TaskReturnV0>> {
pub program_id: Pubkey,
pub payer_info: PayerInfo<'info>,
pub accounts: Vec<AccountWithSeeds<'info>>,
pub tasks: I,
pub system_program: AccountInfo<'info>,
}Fields§
§program_id: Pubkey§payer_info: PayerInfo<'info>§accounts: Vec<AccountWithSeeds<'info>>§tasks: I§system_program: AccountInfo<'info>Auto Trait Implementations§
impl<'info, I> Freeze for WriteReturnTasksArgs<'info, I>where
I: Freeze,
impl<'info, I> !RefUnwindSafe for WriteReturnTasksArgs<'info, I>
impl<'info, I> !Send for WriteReturnTasksArgs<'info, I>
impl<'info, I> !Sync for WriteReturnTasksArgs<'info, I>
impl<'info, I> Unpin for WriteReturnTasksArgs<'info, I>where
I: Unpin,
impl<'info, I> !UnwindSafe for WriteReturnTasksArgs<'info, I>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more