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: StringTrait 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§const fn clone_from(&mut self, source: &Self)
const 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<FunctionCallAction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionCallAction, <__D as Deserializer<'de>>::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) -> FunctionCallAction
fn from(value: &FunctionCallAction) -> FunctionCallAction
Converts to this type from the input type.
Source§impl From<FunctionCallAction> for Action
impl From<FunctionCallAction> for Action
Source§fn from(value: FunctionCallAction) -> Action
fn from(value: FunctionCallAction) -> Action
Converts to this type from the input type.
Source§impl Serialize for FunctionCallAction
impl Serialize for FunctionCallAction
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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