pub struct CreateAttributesParams {
pub payer: Pubkey,
pub mint: Pubkey,
pub update_authority: Pubkey,
pub data: Vec<(String, String)>,
}Expand description
Parameters for CreateAttributes instruction.
Fields§
§payer: PubkeyPayer for attributes PDA creation
mint: PubkeyToken mint the attributes are associated with
Current update authority (must sign)
data: Vec<(String, String)>Attribute key-value pairs; length <= MAX_ATTRIBUTES; each key/value length constrained
Trait Implementations§
Source§impl Clone for CreateAttributesParams
impl Clone for CreateAttributesParams
Source§fn clone(&self) -> CreateAttributesParams
fn clone(&self) -> CreateAttributesParams
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 moreAuto Trait Implementations§
impl Freeze for CreateAttributesParams
impl RefUnwindSafe for CreateAttributesParams
impl Send for CreateAttributesParams
impl Sync for CreateAttributesParams
impl Unpin for CreateAttributesParams
impl UnwindSafe for CreateAttributesParams
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