pub struct RpcCallFunctionResponse {
pub block_hash: CryptoHash,
pub block_height: u64,
pub logs: Vec<String>,
pub result: Vec<u8>,
}Expand description
A result returned by contract method
JSON schema
{
"description": "A result returned by contract method",
"type": "object",
"required": [
"block_hash",
"block_height",
"logs",
"result"
],
"properties": {
"block_hash": {
"$ref": "#/components/schemas/CryptoHash"
},
"block_height": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"logs": {
"type": "array",
"items": {
"type": "string"
}
},
"result": {
"type": "array",
"items": {
"type": "integer",
"format": "uint8",
"maximum": 255.0,
"minimum": 0.0
}
}
}
}Fields§
§block_hash: CryptoHash§block_height: u64§logs: Vec<String>§result: Vec<u8>Trait Implementations§
Source§impl Clone for RpcCallFunctionResponse
impl Clone for RpcCallFunctionResponse
Source§fn clone(&self) -> RpcCallFunctionResponse
fn clone(&self) -> RpcCallFunctionResponse
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 RpcCallFunctionResponse
impl Debug for RpcCallFunctionResponse
Source§impl<'de> Deserialize<'de> for RpcCallFunctionResponse
impl<'de> Deserialize<'de> for RpcCallFunctionResponse
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<&RpcCallFunctionResponse> for RpcCallFunctionResponse
impl From<&RpcCallFunctionResponse> for RpcCallFunctionResponse
Source§fn from(value: &RpcCallFunctionResponse) -> Self
fn from(value: &RpcCallFunctionResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RpcCallFunctionResponse
impl RefUnwindSafe for RpcCallFunctionResponse
impl Send for RpcCallFunctionResponse
impl Sync for RpcCallFunctionResponse
impl Unpin for RpcCallFunctionResponse
impl UnsafeUnpin for RpcCallFunctionResponse
impl UnwindSafe for RpcCallFunctionResponse
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