pub struct ConfigData {
pub uuid: String,
pub symbol: String,
pub seller_fee_basis_points: u16,
pub creators: Vec<Creator>,
pub max_supply: u64,
pub is_mutable: bool,
pub retain_authority: bool,
pub max_number_of_lines: u32,
}Fields§
§uuid: String§symbol: StringThe symbol for the asset
seller_fee_basis_points: u16Royalty basis points that goes to creators in secondary sales (0-10000)
creators: Vec<Creator>§max_supply: u64§is_mutable: bool§max_number_of_lines: u32Trait Implementations§
Source§impl BorshDeserialize for ConfigData
impl BorshDeserialize for ConfigData
Source§impl BorshSerialize for ConfigDatawhere
String: BorshSerialize,
u16: BorshSerialize,
Vec<Creator>: BorshSerialize,
u64: BorshSerialize,
bool: BorshSerialize,
u32: BorshSerialize,
impl BorshSerialize for ConfigDatawhere
String: BorshSerialize,
u16: BorshSerialize,
Vec<Creator>: BorshSerialize,
u64: BorshSerialize,
bool: BorshSerialize,
u32: BorshSerialize,
Source§impl Clone for ConfigData
impl Clone for ConfigData
Source§fn clone(&self) -> ConfigData
fn clone(&self) -> ConfigData
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 Default for ConfigData
impl Default for ConfigData
Source§fn default() -> ConfigData
fn default() -> ConfigData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConfigData
impl RefUnwindSafe for ConfigData
impl Send for ConfigData
impl Sync for ConfigData
impl Unpin for ConfigData
impl UnwindSafe for ConfigData
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more