#[repr(C)]pub struct UpdateGroupAuthority {
pub new_authority: OptionalNonZeroPubkey,
}
Expand description
Instruction data for updating the authority of a Group
Fields§
New authority for the group, or unset if None
Trait Implementations§
source§impl Clone for UpdateGroupAuthority
impl Clone for UpdateGroupAuthority
source§fn clone(&self) -> UpdateGroupAuthority
fn clone(&self) -> UpdateGroupAuthority
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UpdateGroupAuthority
impl Debug for UpdateGroupAuthority
source§impl PartialEq for UpdateGroupAuthority
impl PartialEq for UpdateGroupAuthority
source§fn eq(&self, other: &UpdateGroupAuthority) -> bool
fn eq(&self, other: &UpdateGroupAuthority) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SplDiscriminate for UpdateGroupAuthority
impl SplDiscriminate for UpdateGroupAuthority
source§const SPL_DISCRIMINATOR: ArrayDiscriminator = _
const SPL_DISCRIMINATOR: ArrayDiscriminator = _
The 8-byte discriminator as a
[u8; 8]
source§const SPL_DISCRIMINATOR_SLICE: &'static [u8] = _
const SPL_DISCRIMINATOR_SLICE: &'static [u8] = _
The 8-byte discriminator as a slice (
&[u8]
)impl Copy for UpdateGroupAuthority
impl Pod for UpdateGroupAuthority
impl StructuralPartialEq for UpdateGroupAuthority
Auto Trait Implementations§
impl RefUnwindSafe for UpdateGroupAuthority
impl Send for UpdateGroupAuthority
impl Sync for UpdateGroupAuthority
impl Unpin for UpdateGroupAuthority
impl UnwindSafe for UpdateGroupAuthority
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.