pub struct TokenExtra {Show 21 fields
pub collection_address: Option<String>,
pub edition_nonce: Option<i64>,
pub freeze_authority: Option<String>,
pub fungible: Option<bool>,
pub is_mutable: Option<bool>,
pub is_native: Option<bool>,
pub is_verified_collection: Option<bool>,
pub is_wrapped: Option<bool>,
pub key: Option<String>,
pub launch_from_program_address: Option<String>,
pub launch_from_protocol_family: Option<String>,
pub migrated_at: Option<i64>,
pub migrated_to_pool_address: Option<String>,
pub migrated_to_program_address: Option<String>,
pub migrated_to_protocol_family: Option<String>,
pub mint_authority: Option<String>,
pub primary_sale_happened: Option<bool>,
pub program_address: Option<String>,
pub seller_fee_basis_points: Option<i64>,
pub token_standard: Option<String>,
pub update_authority: Option<String>,
}Expand description
Token extra metadata
JSON schema
{
"description": "Token extra metadata",
"type": "object",
"properties": {
"collectionAddress": {
"examples": [
"ABCDE"
],
"type": "string"
},
"editionNonce": {
"examples": [
1
],
"type": "integer",
"format": "int64"
},
"freezeAuthority": {
"examples": [
"B61ZzjjZskE9yur2CBe4H4NFS3XHdEZdatKNegC9smUV"
],
"type": "string"
},
"fungible": {
"examples": [
true
],
"type": "boolean"
},
"isMutable": {
"examples": [
true
],
"type": "boolean"
},
"isNative": {
"examples": [
false
],
"type": "boolean"
},
"isVerifiedCollection": {
"examples": [
true
],
"type": "boolean"
},
"isWrapped": {
"examples": [
false
],
"type": "boolean"
},
"key": {
"examples": [
"Mint"
],
"type": "string"
},
"launchFromProgramAddress": {
"examples": [
"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"
],
"type": "string"
},
"launchFromProtocolFamily": {
"examples": [
"pumpfun"
],
"type": "string"
},
"migratedAt": {
"examples": [
1714857600000
],
"type": "integer",
"format": "int64"
},
"migratedToPoolAddress": {
"examples": [
"7AvUMqLBou5EAXzyhnizWmPU13u2VguJoBYdcX4bhJtQ"
],
"type": "string"
},
"migratedToProgramAddress": {
"examples": [
"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"
],
"type": "string"
},
"migratedToProtocolFamily": {
"examples": [
"Raydium"
],
"type": "string"
},
"mintAuthority": {
"examples": [
"B61ZzjjZskE9yur2CBe4H4NFS3XHdEZdatKNegC9smUV"
],
"type": "string"
},
"primarySaleHappened": {
"examples": [
false
],
"type": "boolean"
},
"programAddress": {
"examples": [
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
],
"type": "string"
},
"sellerFeeBasisPoints": {
"examples": [
100
],
"type": "integer",
"format": "int64"
},
"tokenStandard": {
"examples": [
"Fungible"
],
"type": "string"
},
"updateAuthority": {
"examples": [
"B61ZzjjZskE9yur2CBe4H4NFS3XHdEZdatKNegC9smUV"
],
"type": "string"
}
}
}Fields§
§collection_address: Option<String>§edition_nonce: Option<i64>§fungible: Option<bool>§is_mutable: Option<bool>§is_native: Option<bool>§is_verified_collection: Option<bool>§is_wrapped: Option<bool>§key: Option<String>§launch_from_program_address: Option<String>§launch_from_protocol_family: Option<String>§migrated_at: Option<i64>§migrated_to_pool_address: Option<String>§migrated_to_program_address: Option<String>§migrated_to_protocol_family: Option<String>§primary_sale_happened: Option<bool>§program_address: Option<String>§seller_fee_basis_points: Option<i64>§token_standard: Option<String>Implementations§
Source§impl TokenExtra
impl TokenExtra
pub fn builder() -> TokenExtra
Trait Implementations§
Source§impl Clone for TokenExtra
impl Clone for TokenExtra
Source§fn clone(&self) -> TokenExtra
fn clone(&self) -> TokenExtra
Returns a duplicate 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 TokenExtra
impl Debug for TokenExtra
Source§impl Default for TokenExtra
impl Default for TokenExtra
Source§impl<'de> Deserialize<'de> for TokenExtra
impl<'de> Deserialize<'de> for TokenExtra
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&TokenExtra> for TokenExtra
impl From<&TokenExtra> for TokenExtra
Source§fn from(value: &TokenExtra) -> Self
fn from(value: &TokenExtra) -> Self
Converts to this type from the input type.
Source§impl From<TokenExtra> for TokenExtra
impl From<TokenExtra> for TokenExtra
Source§fn from(value: TokenExtra) -> Self
fn from(value: TokenExtra) -> Self
Converts to this type from the input type.
Source§impl Serialize for TokenExtra
impl Serialize for TokenExtra
Source§impl TryFrom<TokenExtra> for TokenExtra
impl TryFrom<TokenExtra> for TokenExtra
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TokenExtra) -> Result<Self, ConversionError>
fn try_from(value: TokenExtra) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TokenExtra
impl RefUnwindSafe for TokenExtra
impl Send for TokenExtra
impl Sync for TokenExtra
impl Unpin for TokenExtra
impl UnsafeUnpin for TokenExtra
impl UnwindSafe for TokenExtra
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