Struct sugar_cli::config::data::ConfigData
source · pub struct ConfigData {Show 15 fields
pub token_standard: TokenStandard,
pub number: u64,
pub symbol: String,
pub seller_fee_basis_points: u16,
pub is_mutable: bool,
pub is_sequential: bool,
pub creators: Vec<Creator>,
pub upload_method: UploadMethod,
pub rule_set: Option<Pubkey>,
pub aws_config: Option<AwsConfig>,
pub nft_storage_auth_token: Option<String>,
pub shdw_storage_account: Option<String>,
pub pinata_config: Option<PinataConfig>,
pub hidden_settings: Option<HiddenSettings>,
pub guards: Option<CandyGuardData>,
}Fields§
§token_standard: TokenStandardToken standard.
number: u64Number of assets available
symbol: StringSymbol for the asset
seller_fee_basis_points: u16Secondary sales royalty basis points (0-10000)
is_mutable: boolIndicates if the asset is mutable or not (default yes)
is_sequential: boolIndicates whether the index generation is sequential or not
creators: Vec<Creator>List of creators
upload_method: UploadMethodUpload method to use
rule_set: Option<Pubkey>§aws_config: Option<AwsConfig>§nft_storage_auth_token: Option<String>§shdw_storage_account: Option<String>§pinata_config: Option<PinataConfig>Hidden setttings
guards: Option<CandyGuardData>Guards configuration
Trait Implementations§
source§impl Clone for ConfigData
impl Clone for ConfigData
source§fn clone(&self) -> ConfigData
fn clone(&self) -> ConfigData
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 ConfigData
impl Debug for ConfigData
source§impl Default for ConfigData
impl Default for ConfigData
source§fn default() -> ConfigData
fn default() -> ConfigData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConfigData
impl<'de> Deserialize<'de> for ConfigData
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
Auto Trait Implementations§
impl RefUnwindSafe for ConfigData
impl Send for ConfigData
impl Sync for ConfigData
impl Unpin for ConfigData
impl UnwindSafe for ConfigData
Blanket Implementations§
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + ?Sized,
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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