pub struct EventQueryConfig {
pub max_events_per_query: usize,
pub max_signatures_per_batch: usize,
pub commitment: CommitmentConfig,
pub enable_cache: bool,
pub cache_ttl_seconds: u64,
pub max_cache_size: usize,
}Expand description
Configuration for RPC event queries
Fields§
§max_events_per_query: usizeMaximum number of events to return per query
max_signatures_per_batch: usizeMaximum number of transaction signatures to process in batch
commitment: CommitmentConfigDefault commitment level for queries
enable_cache: boolEnable caching for recent queries
cache_ttl_seconds: u64Cache TTL in seconds
max_cache_size: usizeMaximum cache size (number of cached query results)
Trait Implementations§
Source§impl Clone for EventQueryConfig
impl Clone for EventQueryConfig
Source§fn clone(&self) -> EventQueryConfig
fn clone(&self) -> EventQueryConfig
Returns a duplicate 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 EventQueryConfig
impl Debug for EventQueryConfig
Auto Trait Implementations§
impl Freeze for EventQueryConfig
impl RefUnwindSafe for EventQueryConfig
impl Send for EventQueryConfig
impl Sync for EventQueryConfig
impl Unpin for EventQueryConfig
impl UnwindSafe for EventQueryConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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§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