Struct hpl_asset_assembler::instructions::nft::UpdateMetadataArgs
source · pub struct UpdateMetadataArgs {
pub name: String,
pub symbol: String,
pub uri: String,
pub seller_fee_basis_points: u16,
}
Fields§
§name: String
The name of the asset
symbol: String
The symbol for the asset
uri: String
URI pointing to JSON representing the asset
seller_fee_basis_points: u16
Royalty basis points that goes to creators in secondary sales (0-10000)
Trait Implementations§
source§impl BorshDeserialize for UpdateMetadataArgswhere
String: BorshDeserialize,
u16: BorshDeserialize,
impl BorshDeserialize for UpdateMetadataArgswhere String: BorshDeserialize, u16: BorshDeserialize,
source§impl BorshSerialize for UpdateMetadataArgswhere
String: BorshSerialize,
u16: BorshSerialize,
impl BorshSerialize for UpdateMetadataArgswhere String: BorshSerialize, u16: BorshSerialize,
source§impl Clone for UpdateMetadataArgs
impl Clone for UpdateMetadataArgs
source§fn clone(&self) -> UpdateMetadataArgs
fn clone(&self) -> UpdateMetadataArgs
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 moreAuto Trait Implementations§
impl RefUnwindSafe for UpdateMetadataArgs
impl Send for UpdateMetadataArgs
impl Sync for UpdateMetadataArgs
impl Unpin for UpdateMetadataArgs
impl UnwindSafe for UpdateMetadataArgs
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