pub struct LogFields {
pub removed: bool,
pub log_index: bool,
pub transaction_index: bool,
pub transaction_hash: bool,
pub block_hash: bool,
pub block_number: bool,
pub address: bool,
pub data: bool,
pub topic0: bool,
pub topic1: bool,
pub topic2: bool,
pub topic3: bool,
}Expand description
Boolean flags selecting which log columns to include in the output.
When all flags are false (the default), the full schema is returned.
Fields§
§removed: bool§log_index: bool§transaction_index: bool§transaction_hash: bool§block_hash: bool§block_number: bool§address: bool§data: bool§topic0: bool§topic1: bool§topic2: bool§topic3: boolTrait Implementations§
impl Copy for LogFields
Auto Trait Implementations§
impl Freeze for LogFields
impl RefUnwindSafe for LogFields
impl Send for LogFields
impl Sync for LogFields
impl Unpin for LogFields
impl UnwindSafe for LogFields
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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