pub struct CreateCollectionArgs {
pub name: String,
pub symbol: String,
pub for_minter: bool,
pub royalty_50bps: Vec<u8>,
}Fields§
§name: StringThe name of the collection
symbol: StringThe symbol for the collection
for_minter: boolWhether the collection will be used with a minter or 1/1s
royalty_50bps: Vec<u8>The royalties for the collection in half-percentages. This must be in
the same order as the creator keys are stored (they are sorted by Pubkey).
Half-percentage are used to maximize the utility of a single u8.
Trait Implementations§
Source§impl Clone for CreateCollectionArgs
impl Clone for CreateCollectionArgs
Source§impl Debug for CreateCollectionArgs
impl Debug for CreateCollectionArgs
Source§impl PartialEq for CreateCollectionArgs
impl PartialEq for CreateCollectionArgs
impl StructuralPartialEq for CreateCollectionArgs
Auto Trait Implementations§
impl Freeze for CreateCollectionArgs
impl RefUnwindSafe for CreateCollectionArgs
impl Send for CreateCollectionArgs
impl Sync for CreateCollectionArgs
impl Unpin for CreateCollectionArgs
impl UnsafeUnpin for CreateCollectionArgs
impl UnwindSafe for CreateCollectionArgs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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