pub struct InitializeGroupPointerData<'a> {
pub authority: Option<&'a Pubkey>,
pub group: &'a Pubkey,
}Expand description
Data required to initialize the group pointer extension, which is used to establish a collection of mints.
Fields§
Who has authority to update the group pointer. If None, the group cannot be modified.
group: &'a PubkeyWhere the group is stored.
§Notes
The initialize group pointer instruction actually takes an optional group account, where if both the authority and group pubkeys are None, then the Token program will revert because at least one of these values must be present. So if you want to initialize the group pointer, this data must be specified.
Trait Implementations§
Source§impl<'a> Clone for InitializeGroupPointerData<'a>
impl<'a> Clone for InitializeGroupPointerData<'a>
Source§impl<'a> Debug for InitializeGroupPointerData<'a>
impl<'a> Debug for InitializeGroupPointerData<'a>
impl<'a> Eq for InitializeGroupPointerData<'a>
Source§impl<'a> PartialEq for InitializeGroupPointerData<'a>
impl<'a> PartialEq for InitializeGroupPointerData<'a>
impl<'a> StructuralPartialEq for InitializeGroupPointerData<'a>
Auto Trait Implementations§
impl<'a> Freeze for InitializeGroupPointerData<'a>
impl<'a> RefUnwindSafe for InitializeGroupPointerData<'a>
impl<'a> Send for InitializeGroupPointerData<'a>
impl<'a> Sync for InitializeGroupPointerData<'a>
impl<'a> Unpin for InitializeGroupPointerData<'a>
impl<'a> UnsafeUnpin for InitializeGroupPointerData<'a>
impl<'a> UnwindSafe for InitializeGroupPointerData<'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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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