pub struct CallOptions {
pub source_vm: String,
pub target_vm: String,
pub target_contract: String,
pub payload: Payload,
pub funds: Vec<Coin>,
}Expand description
Options for a single cross-VM call.
Fields§
§source_vm: StringSource VM type. Defaults to VM_TYPE_EVM when empty.
target_vm: StringTarget VM type (e.g. VM_TYPE_COSMWASM).
target_contract: StringThe target contract address/identifier in the target VM’s address space.
payload: PayloadThe call payload (raw bytes or a CosmWasm JSON value).
funds: Vec<Coin>Funds to send with the call.
Implementations§
Trait Implementations§
Source§impl Clone for CallOptions
impl Clone for CallOptions
Source§fn clone(&self) -> CallOptions
fn clone(&self) -> CallOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CallOptions
impl RefUnwindSafe for CallOptions
impl Send for CallOptions
impl Sync for CallOptions
impl Unpin for CallOptions
impl UnsafeUnpin for CallOptions
impl UnwindSafe for CallOptions
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