Struct oasis_runtime_sdk::subcall::SubcallInfo
source · pub struct SubcallInfo {
pub caller: CallerAddress,
pub method: String,
pub body: Value,
pub max_depth: u16,
pub max_gas: u64,
}
Expand description
Information about a subcall to be dispatched.
Fields§
§caller: CallerAddress
Address of the caller.
method: String
Method to call.
body: Value
Subcall body.
max_depth: u16
Maximum subcall depth.
max_gas: u64
Maximum gas amount that can be consumed.
Trait Implementations§
source§impl Clone for SubcallInfo
impl Clone for SubcallInfo
source§fn clone(&self) -> SubcallInfo
fn clone(&self) -> SubcallInfo
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 RefUnwindSafe for SubcallInfo
impl Send for SubcallInfo
impl Sync for SubcallInfo
impl Unpin for SubcallInfo
impl UnwindSafe for SubcallInfo
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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