pub struct OtsReceipt {
pub status: bool,
pub cumulative_gas_used: u64,
pub logs: Option<Vec<Log>>,
pub logs_bloom: Option<Bloom>,
pub type: u8,
}
Expand description
The receipt of a transaction.
Fields§
§status: bool
If the transaction is executed successfully.
This is the statusCode
cumulative_gas_used: u64
The cumulative gas used.
logs: Option<Vec<Log>>
The logs sent from contracts.
Note: this is set to null.
logs_bloom: Option<Bloom>
The bloom filter.
Note: this is set to null.
type: u8
The transaction type.
Trait Implementations§
source§impl Clone for OtsReceipt
impl Clone for OtsReceipt
source§fn clone(&self) -> OtsReceipt
fn clone(&self) -> OtsReceipt
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 OtsReceipt
impl Debug for OtsReceipt
source§impl<'de> Deserialize<'de> for OtsReceipt
impl<'de> Deserialize<'de> for OtsReceipt
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 PartialEq for OtsReceipt
impl PartialEq for OtsReceipt
source§impl Serialize for OtsReceipt
impl Serialize for OtsReceipt
impl Eq for OtsReceipt
impl StructuralPartialEq for OtsReceipt
Auto Trait Implementations§
impl Freeze for OtsReceipt
impl RefUnwindSafe for OtsReceipt
impl Send for OtsReceipt
impl Sync for OtsReceipt
impl Unpin for OtsReceipt
impl UnwindSafe for OtsReceipt
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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