#[repr(C)]pub struct PermanentDelegate {
pub delegate: OptionalNonZeroPubkey,
}
Expand description
Permanent delegate extension data for mints.
Fields§
§delegate: OptionalNonZeroPubkey
Optional permanent delegate for transferring or burning tokens
Trait Implementations§
source§impl Clone for PermanentDelegate
impl Clone for PermanentDelegate
source§fn clone(&self) -> PermanentDelegate
fn clone(&self) -> PermanentDelegate
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 PermanentDelegate
impl Debug for PermanentDelegate
source§impl Default for PermanentDelegate
impl Default for PermanentDelegate
source§fn default() -> PermanentDelegate
fn default() -> PermanentDelegate
Returns the “default value” for a type. Read more
source§impl Extension for PermanentDelegate
impl Extension for PermanentDelegate
source§const TYPE: ExtensionType = ExtensionType::PermanentDelegate
const TYPE: ExtensionType = ExtensionType::PermanentDelegate
Associated extension type enum, checked at the start of TLV entries
source§impl PartialEq for PermanentDelegate
impl PartialEq for PermanentDelegate
source§fn eq(&self, other: &PermanentDelegate) -> bool
fn eq(&self, other: &PermanentDelegate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PermanentDelegate
impl Pod for PermanentDelegate
impl StructuralPartialEq for PermanentDelegate
Auto Trait Implementations§
impl RefUnwindSafe for PermanentDelegate
impl Send for PermanentDelegate
impl Sync for PermanentDelegate
impl Unpin for PermanentDelegate
impl UnwindSafe for PermanentDelegate
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
.