pub struct CollectionDeployRequestDto {
pub base_asset_id: String,
pub vault_account_id: String,
pub type: CollectionType,
pub name: String,
pub symbol: String,
pub admin_address: String,
pub display_name: Option<String>,
}
Fields§
§base_asset_id: String
The blockchain base assetId
vault_account_id: String
The id of the vault account that initiated the request to issue the token
type: CollectionType
§name: String
A string that represents the name of the collection
symbol: String
A string that represents the symbol of the collection
admin_address: String
The EVM address of the user that will be set as the admin user of the collection
display_name: Option<String>
A string to display as a name of the collection
Implementations§
Source§impl CollectionDeployRequestDto
impl CollectionDeployRequestDto
pub fn new( base_asset_id: String, vault_account_id: String, type: CollectionType, name: String, symbol: String, admin_address: String, ) -> CollectionDeployRequestDto
Trait Implementations§
Source§impl Clone for CollectionDeployRequestDto
impl Clone for CollectionDeployRequestDto
Source§fn clone(&self) -> CollectionDeployRequestDto
fn clone(&self) -> CollectionDeployRequestDto
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 moreSource§impl Debug for CollectionDeployRequestDto
impl Debug for CollectionDeployRequestDto
Source§impl Default for CollectionDeployRequestDto
impl Default for CollectionDeployRequestDto
Source§fn default() -> CollectionDeployRequestDto
fn default() -> CollectionDeployRequestDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollectionDeployRequestDto
impl<'de> Deserialize<'de> for CollectionDeployRequestDto
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for CollectionDeployRequestDto
Auto Trait Implementations§
impl Freeze for CollectionDeployRequestDto
impl RefUnwindSafe for CollectionDeployRequestDto
impl Send for CollectionDeployRequestDto
impl Sync for CollectionDeployRequestDto
impl Unpin for CollectionDeployRequestDto
impl UnwindSafe for CollectionDeployRequestDto
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