pub struct ApiSmartContractResult {Show 17 fields
pub hash: String,
pub nonce: u64,
pub value: u64,
pub receiver: SdkAddress,
pub sender: SdkAddress,
pub data: String,
pub prev_tx_hash: String,
pub original_tx_hash: String,
pub gas_limit: u64,
pub gas_price: u64,
pub call_type: CallType,
pub relayer_address: Option<String>,
pub relayed_value: Option<String>,
pub code: Option<String>,
pub code_metadata: Option<String>,
pub return_message: Option<String>,
pub original_sender: Option<String>,
}
Fields§
§hash: String
§nonce: u64
§value: u64
§receiver: SdkAddress
§sender: SdkAddress
§data: String
§prev_tx_hash: String
§original_tx_hash: String
§gas_limit: u64
§gas_price: u64
§call_type: CallType
§relayer_address: Option<String>
§relayed_value: Option<String>
§code: Option<String>
§code_metadata: Option<String>
§return_message: Option<String>
§original_sender: Option<String>
Trait Implementations§
Source§impl Clone for ApiSmartContractResult
impl Clone for ApiSmartContractResult
Source§fn clone(&self) -> ApiSmartContractResult
fn clone(&self) -> ApiSmartContractResult
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 moreSource§impl Debug for ApiSmartContractResult
impl Debug for ApiSmartContractResult
Source§impl<'de> Deserialize<'de> for ApiSmartContractResult
impl<'de> Deserialize<'de> for ApiSmartContractResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ApiSmartContractResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ApiSmartContractResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ApiSmartContractResult
impl Serialize for ApiSmartContractResult
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 ApiSmartContractResult
impl RefUnwindSafe for ApiSmartContractResult
impl Send for ApiSmartContractResult
impl Sync for ApiSmartContractResult
impl Unpin for ApiSmartContractResult
impl UnwindSafe for ApiSmartContractResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more