pub struct LogFilterBuilder(/* private fields */);
Implementations§
Source§impl LogFilterBuilder
impl LogFilterBuilder
pub fn new() -> LogFilterBuilder
pub fn address<T>(self, address: T) -> LogFilterBuilder
pub fn build(self) -> LogFilter
pub fn from(self, from: Timestamp) -> LogFilterBuilder
pub fn to(self, to: Timestamp) -> LogFilterBuilder
pub fn event_signature<H>(self, event_signature: H) -> LogFilterBuilderwhere
H: Into<FixedBytes<32>>,
pub fn topic1<H>(self, topic: H) -> LogFilterBuilderwhere
H: Into<FixedBytes<32>>,
pub fn topic2<H>(self, topic: H) -> LogFilterBuilderwhere
H: Into<FixedBytes<32>>,
pub fn topic3<H>(self, topic: H) -> LogFilterBuilderwhere
H: Into<FixedBytes<32>>,
pub fn min_attestations(self, min_attestations: u32) -> LogFilterBuilder
pub fn limit(self, limit: usize) -> LogFilterBuilder
Trait Implementations§
Source§impl Debug for LogFilterBuilder
impl Debug for LogFilterBuilder
Source§impl Default for LogFilterBuilder
impl Default for LogFilterBuilder
Source§fn default() -> LogFilterBuilder
fn default() -> LogFilterBuilder
Returns the “default value” for a type. Read more
Source§impl From<LogFilterBuilder> for LogFilter
impl From<LogFilterBuilder> for LogFilter
Source§fn from(builder: LogFilterBuilder) -> LogFilter
fn from(builder: LogFilterBuilder) -> LogFilter
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for LogFilterBuilder
impl RefUnwindSafe for LogFilterBuilder
impl Send for LogFilterBuilder
impl Sync for LogFilterBuilder
impl Unpin for LogFilterBuilder
impl UnwindSafe for LogFilterBuilder
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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