pub struct EventQuery {
pub filters: Option<Vec<EventFilter>>,
pub min_sequence_number: Option<u64>,
}Fields§
§filters: Option<Vec<EventFilter>>§min_sequence_number: Option<u64>Exclusive read cursor for returned rows.
This affects returned rows only. It does not narrow the full conflict
context version reported by query, and it does not narrow the context
checked by append_if.
Implementations§
Source§impl EventQuery
impl EventQuery
pub fn all() -> Self
pub fn with_filters( self, filters: impl IntoIterator<Item = EventFilter>, ) -> Self
pub fn for_event_types( event_types: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn with_min_sequence_number(self, min_sequence_number: u64) -> Self
Trait Implementations§
Source§impl Clone for EventQuery
impl Clone for EventQuery
Source§fn clone(&self) -> EventQuery
fn clone(&self) -> EventQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventQuery
impl Debug for EventQuery
Source§impl Default for EventQuery
impl Default for EventQuery
Source§fn default() -> EventQuery
fn default() -> EventQuery
Returns the “default value” for a type. Read more
Source§impl PartialEq for EventQuery
impl PartialEq for EventQuery
Source§fn eq(&self, other: &EventQuery) -> bool
fn eq(&self, other: &EventQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for EventQuery
impl StructuralPartialEq for EventQuery
Auto Trait Implementations§
impl Freeze for EventQuery
impl RefUnwindSafe for EventQuery
impl Send for EventQuery
impl Sync for EventQuery
impl Unpin for EventQuery
impl UnsafeUnpin for EventQuery
impl UnwindSafe for EventQuery
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