pub struct ReceiptWithBloom<T = Log> {
pub receipt: Receipt<T>,
pub logs_bloom: Bloom,
}
Expand description
Fields§
§receipt: Receipt<T>
The receipt.
logs_bloom: Bloom
The bloom filter.
Implementations§
source§impl<T> ReceiptWithBloom<T>
impl<T> ReceiptWithBloom<T>
sourcepub const fn new(receipt: Receipt<T>, logs_bloom: Bloom) -> ReceiptWithBloom<T>
pub const fn new(receipt: Receipt<T>, logs_bloom: Bloom) -> ReceiptWithBloom<T>
Create new ReceiptWithBloom
sourcepub fn into_components(self) -> (Receipt<T>, Bloom)
pub fn into_components(self) -> (Receipt<T>, Bloom)
Consume the structure, returning the receipt and the bloom filter
Trait Implementations§
source§impl<T> Clone for ReceiptWithBloom<T>where
T: Clone,
impl<T> Clone for ReceiptWithBloom<T>where
T: Clone,
source§fn clone(&self) -> ReceiptWithBloom<T>
fn clone(&self) -> ReceiptWithBloom<T>
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<T> Debug for ReceiptWithBloom<T>where
T: Debug,
impl<T> Debug for ReceiptWithBloom<T>where
T: Debug,
source§impl<T> Decodable for ReceiptWithBloom<T>where
T: Decodable,
impl<T> Decodable for ReceiptWithBloom<T>where
T: Decodable,
source§impl<T> Default for ReceiptWithBloom<T>where
T: Default,
impl<T> Default for ReceiptWithBloom<T>where
T: Default,
source§fn default() -> ReceiptWithBloom<T>
fn default() -> ReceiptWithBloom<T>
Returns the “default value” for a type. Read more
source§impl<'de, T> Deserialize<'de> for ReceiptWithBloom<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ReceiptWithBloom<T>where
T: Deserialize<'de>,
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReceiptWithBloom<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReceiptWithBloom<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> Encodable for ReceiptWithBloom<T>where
T: Encodable,
impl<T> Encodable for ReceiptWithBloom<T>where
T: Encodable,
source§impl<T> From<Receipt<T>> for ReceiptWithBloom<T>
impl<T> From<Receipt<T>> for ReceiptWithBloom<T>
source§fn from(receipt: Receipt<T>) -> ReceiptWithBloom<T>
fn from(receipt: Receipt<T>) -> ReceiptWithBloom<T>
Converts to this type from the input type.
source§impl<T> From<ReceiptWithBloom<T>> for Receipt<T>
impl<T> From<ReceiptWithBloom<T>> for Receipt<T>
source§fn from(receipt_with_bloom: ReceiptWithBloom<T>) -> Receipt<T>
fn from(receipt_with_bloom: ReceiptWithBloom<T>) -> Receipt<T>
Consume the structure, returning only the receipt
source§impl<T> PartialEq for ReceiptWithBloom<T>where
T: PartialEq,
impl<T> PartialEq for ReceiptWithBloom<T>where
T: PartialEq,
source§impl<T> Serialize for ReceiptWithBloom<T>where
T: Serialize,
impl<T> Serialize for ReceiptWithBloom<T>where
T: Serialize,
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
source§impl<T> TxReceipt<T> for ReceiptWithBloom<T>
impl<T> TxReceipt<T> for ReceiptWithBloom<T>
source§fn status_or_post_state(&self) -> Eip658Value
fn status_or_post_state(&self) -> Eip658Value
Returns the status or post state of the transaction. Read more
source§fn bloom(&self) -> Bloom
fn bloom(&self) -> Bloom
Returns the bloom filter for the logs in the receipt. This operation
may be expensive.
source§fn bloom_cheap(&self) -> Option<Bloom>
fn bloom_cheap(&self) -> Option<Bloom>
Returns the bloom filter for the logs in the receipt, if it is cheap to
compute.
source§fn cumulative_gas_used(&self) -> u128
fn cumulative_gas_used(&self) -> u128
Returns the cumulative gas used in the block after this transaction was executed.
impl<T> Eq for ReceiptWithBloom<T>where
T: Eq,
impl<T> StructuralPartialEq for ReceiptWithBloom<T>
Auto Trait Implementations§
impl<T> Freeze for ReceiptWithBloom<T>
impl<T> RefUnwindSafe for ReceiptWithBloom<T>where
T: RefUnwindSafe,
impl<T> Send for ReceiptWithBloom<T>where
T: Send,
impl<T> Sync for ReceiptWithBloom<T>where
T: Sync,
impl<T> Unpin for ReceiptWithBloom<T>where
T: Unpin,
impl<T> UnwindSafe for ReceiptWithBloom<T>where
T: UnwindSafe,
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