pub struct DeployContractParams {
pub contract_template_id: String,
pub contract_deploy_request: ContractDeployRequest,
pub idempotency_key: Option<String>,
}
Expand description
struct for passing parameters to the method [deploy_contract
]
Fields§
§contract_template_id: String
The Contract Template identifier
contract_deploy_request: ContractDeployRequest
§idempotency_key: Option<String>
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Implementations§
Source§impl DeployContractParams
impl DeployContractParams
Sourcepub fn builder() -> DeployContractParamsBuilder
pub fn builder() -> DeployContractParamsBuilder
Create an instance of DeployContractParams
using the builder syntax
Trait Implementations§
Source§impl Clone for DeployContractParams
impl Clone for DeployContractParams
Source§fn clone(&self) -> DeployContractParams
fn clone(&self) -> DeployContractParams
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 moreAuto Trait Implementations§
impl Freeze for DeployContractParams
impl RefUnwindSafe for DeployContractParams
impl Send for DeployContractParams
impl Sync for DeployContractParams
impl Unpin for DeployContractParams
impl UnwindSafe for DeployContractParams
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