pub struct WriteCallFunctionParams {
pub contract_address: String,
pub base_asset_id: String,
pub write_call_function_dto: WriteCallFunctionDto,
pub idempotency_key: Option<String>,
}
Expand description
struct for passing parameters to the method [write_call_function
]
Fields§
§contract_address: String
The contract’s onchain address
base_asset_id: String
The blockchain base assetId
write_call_function_dto: WriteCallFunctionDto
§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 WriteCallFunctionParams
impl WriteCallFunctionParams
Sourcepub fn builder() -> WriteCallFunctionParamsBuilder
pub fn builder() -> WriteCallFunctionParamsBuilder
Create an instance of WriteCallFunctionParams
using the builder syntax
Trait Implementations§
Source§impl Clone for WriteCallFunctionParams
impl Clone for WriteCallFunctionParams
Source§fn clone(&self) -> WriteCallFunctionParams
fn clone(&self) -> WriteCallFunctionParams
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 Freeze for WriteCallFunctionParams
impl RefUnwindSafe for WriteCallFunctionParams
impl Send for WriteCallFunctionParams
impl Sync for WriteCallFunctionParams
impl Unpin for WriteCallFunctionParams
impl UnwindSafe for WriteCallFunctionParams
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