[−][src]Struct spl_token::state::Mint
Mint data.
Fields
owner: COption<Pubkey>
Optional owner, used to mint new tokens. The owner may only be provided during mint creation. If no owner is present then the mint has a fixed supply and no further tokens may be minted.
decimals: u8
Number of base 10 digits to the right of the decimal place.
is_initialized: bool
Is true
if this structure has been initialized
Trait Implementations
impl Clone for Mint
[src]
impl Copy for Mint
[src]
impl Debug for Mint
[src]
impl Default for Mint
[src]
impl IsInitialized for Mint
[src]
fn is_initialized(&self) -> bool
[src]
impl PartialEq<Mint> for Mint
[src]
impl StructuralPartialEq for Mint
[src]
Auto Trait Implementations
impl RefUnwindSafe for Mint
impl Send for Mint
impl Sync for Mint
impl Unpin for Mint
impl UnwindSafe for Mint
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,