pub struct DeleteConfig<'a> {
pub authority: &'a AccountInfo<'a>,
pub receiver: &'a AccountInfo<'a>,
pub mint: &'a AccountInfo<'a>,
pub mint_config: &'a AccountInfo<'a>,
pub token_program: &'a AccountInfo<'a>,
}Fields§
§receiver: &'a AccountInfo<'a>§mint: &'a AccountInfo<'a>§mint_config: &'a AccountInfo<'a>§token_program: &'a AccountInfo<'a>Implementations§
Source§impl DeleteConfig<'_>
impl DeleteConfig<'_>
pub const DISCRIMINATOR: u8 = 3u8
pub fn process(&self, remaining_data: &[u8]) -> ProgramResult
Trait Implementations§
Source§impl<'a> TryFrom<&'a [AccountInfo<'a>]> for DeleteConfig<'a>
impl<'a> TryFrom<&'a [AccountInfo<'a>]> for DeleteConfig<'a>
Source§type Error = ProgramError
type Error = ProgramError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl<'a> Freeze for DeleteConfig<'a>
impl<'a> !RefUnwindSafe for DeleteConfig<'a>
impl<'a> !Send for DeleteConfig<'a>
impl<'a> !Sync for DeleteConfig<'a>
impl<'a> Unpin for DeleteConfig<'a>
impl<'a> !UnwindSafe for DeleteConfig<'a>
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