pub struct ContractDeployRequest {
pub asset_id: String,
pub vault_account_id: String,
pub constructor_parameters: Option<Vec<ParameterWithValue>>,
}
Fields§
§asset_id: String
The base asset identifier of the blockchain you want to deploy to
vault_account_id: String
The vault account id you wish to deploy from
constructor_parameters: Option<Vec<ParameterWithValue>>
The constructor parameters of this contract
Implementations§
Source§impl ContractDeployRequest
impl ContractDeployRequest
pub fn new(asset_id: String, vault_account_id: String) -> ContractDeployRequest
Trait Implementations§
Source§impl Clone for ContractDeployRequest
impl Clone for ContractDeployRequest
Source§fn clone(&self) -> ContractDeployRequest
fn clone(&self) -> ContractDeployRequest
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 ContractDeployRequest
impl Debug for ContractDeployRequest
Source§impl Default for ContractDeployRequest
impl Default for ContractDeployRequest
Source§fn default() -> ContractDeployRequest
fn default() -> ContractDeployRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContractDeployRequest
impl<'de> Deserialize<'de> for ContractDeployRequest
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 ContractDeployRequest
impl PartialEq for ContractDeployRequest
Source§impl Serialize for ContractDeployRequest
impl Serialize for ContractDeployRequest
impl StructuralPartialEq for ContractDeployRequest
Auto Trait Implementations§
impl Freeze for ContractDeployRequest
impl RefUnwindSafe for ContractDeployRequest
impl Send for ContractDeployRequest
impl Sync for ContractDeployRequest
impl Unpin for ContractDeployRequest
impl UnwindSafe for ContractDeployRequest
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