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 UpdateMetadataArgs
impl BorshDeserialize for UpdateMetadataArgs
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
source§impl BorshSerialize for UpdateMetadataArgs
impl BorshSerialize for UpdateMetadataArgs
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