pub struct CreateTokenRequestDto {
pub blockchain_id: Option<String>,
pub asset_id: Option<String>,
pub vault_account_id: String,
pub create_params: CreateTokenRequestDtoCreateParams,
pub display_name: Option<String>,
pub use_gasless: Option<bool>,
pub fee: Option<String>,
pub fee_level: Option<FeeLevel>,
}Fields§
§blockchain_id: Option<String>The id of the blockchain the request was initiated on
asset_id: Option<String>The base asset identifier of the blockchain you want to deploy to
vault_account_id: StringThe id of the vault account that initiated the request to issue the token
create_params: CreateTokenRequestDtoCreateParams§display_name: Option<String>§use_gasless: Option<bool>Indicates whether the token should be created in a gasless manner, utilizing the ERC-2771 standard. When set to true, the transaction will be relayed by a designated relayer. The workspace must be configured to use Fireblocks gasless relay.
fee: Option<String>Max fee amount for the write function transaction. interchangeable with the ‘feeLevel’ field
fee_level: Option<FeeLevel>Fee level for the write function transaction. interchangeable with the ‘fee’ field
Implementations§
Source§impl CreateTokenRequestDto
impl CreateTokenRequestDto
pub fn new( vault_account_id: String, create_params: CreateTokenRequestDtoCreateParams, ) -> CreateTokenRequestDto
Trait Implementations§
Source§impl Clone for CreateTokenRequestDto
impl Clone for CreateTokenRequestDto
Source§fn clone(&self) -> CreateTokenRequestDto
fn clone(&self) -> CreateTokenRequestDto
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 moreSource§impl Debug for CreateTokenRequestDto
impl Debug for CreateTokenRequestDto
Source§impl Default for CreateTokenRequestDto
impl Default for CreateTokenRequestDto
Source§fn default() -> CreateTokenRequestDto
fn default() -> CreateTokenRequestDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateTokenRequestDto
impl<'de> Deserialize<'de> for CreateTokenRequestDto
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
Source§impl PartialEq for CreateTokenRequestDto
impl PartialEq for CreateTokenRequestDto
Source§impl Serialize for CreateTokenRequestDto
impl Serialize for CreateTokenRequestDto
impl StructuralPartialEq for CreateTokenRequestDto
Auto Trait Implementations§
impl Freeze for CreateTokenRequestDto
impl RefUnwindSafe for CreateTokenRequestDto
impl Send for CreateTokenRequestDto
impl Sync for CreateTokenRequestDto
impl Unpin for CreateTokenRequestDto
impl UnwindSafe for CreateTokenRequestDto
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