pub struct FunctionCallAction {
pub args: String,
pub deposit: String,
pub gas: u64,
pub method_name: String,
}
Expand description
FunctionCallAction
JSON schema
{
"type": "object",
"required": [
"args",
"deposit",
"gas",
"method_name"
],
"properties": {
"args": {
"type": "string"
},
"deposit": {
"type": "string"
},
"gas": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"method_name": {
"type": "string"
}
}
}
Fields§
§args: String
§deposit: String
§gas: u64
§method_name: String
Trait Implementations§
Source§impl Clone for FunctionCallAction
impl Clone for FunctionCallAction
Source§fn clone(&self) -> FunctionCallAction
fn clone(&self) -> FunctionCallAction
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 moreSource§impl Debug for FunctionCallAction
impl Debug for FunctionCallAction
Source§impl<'de> Deserialize<'de> for FunctionCallAction
impl<'de> Deserialize<'de> for FunctionCallAction
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 From<&FunctionCallAction> for FunctionCallAction
impl From<&FunctionCallAction> for FunctionCallAction
Source§fn from(value: &FunctionCallAction) -> Self
fn from(value: &FunctionCallAction) -> Self
Converts to this type from the input type.
Source§impl From<FunctionCallAction> for Action
impl From<FunctionCallAction> for Action
Source§fn from(value: FunctionCallAction) -> Self
fn from(value: FunctionCallAction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FunctionCallAction
impl RefUnwindSafe for FunctionCallAction
impl Send for FunctionCallAction
impl Sync for FunctionCallAction
impl Unpin for FunctionCallAction
impl UnwindSafe for FunctionCallAction
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