#[repr(C)]pub struct MintCloseAuthority {
pub close_authority: OptionalNonZeroPubkey,
}
Expand description
Close authority extension data for mints.
Fields
Optional authority to close the mint
Trait Implementations
sourceimpl Clone for MintCloseAuthority
impl Clone for MintCloseAuthority
sourcefn clone(&self) -> MintCloseAuthority
fn clone(&self) -> MintCloseAuthority
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MintCloseAuthority
impl Debug for MintCloseAuthority
sourceimpl Default for MintCloseAuthority
impl Default for MintCloseAuthority
sourcefn default() -> MintCloseAuthority
fn default() -> MintCloseAuthority
Returns the “default value” for a type. Read more
sourceimpl Extension for MintCloseAuthority
impl Extension for MintCloseAuthority
sourceconst TYPE: ExtensionType = ExtensionType::MintCloseAuthority
const TYPE: ExtensionType = ExtensionType::MintCloseAuthority
Associated extension type enum, checked at the start of TLV entries
sourceimpl PartialEq<MintCloseAuthority> for MintCloseAuthority
impl PartialEq<MintCloseAuthority> for MintCloseAuthority
sourcefn eq(&self, other: &MintCloseAuthority) -> bool
fn eq(&self, other: &MintCloseAuthority) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MintCloseAuthority) -> bool
fn ne(&self, other: &MintCloseAuthority) -> bool
This method tests for !=
.
impl Copy for MintCloseAuthority
impl Pod for MintCloseAuthority
impl StructuralPartialEq for MintCloseAuthority
Auto Trait Implementations
impl RefUnwindSafe for MintCloseAuthority
impl Send for MintCloseAuthority
impl Sync for MintCloseAuthority
impl Unpin for MintCloseAuthority
impl UnwindSafe for MintCloseAuthority
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CheckedBitPattern for T where
T: AnyBitPattern,
impl<T> CheckedBitPattern for T where
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
. Read more
sourcefn 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
.
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more