pub struct ReceiptWithBloom<T = Log> {
pub receipt: Receipt<T>,
pub logs_bloom: Bloom,
}
Available on crate feature
eth
only.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