pub struct StoreReadOptions {
pub lower_exclusive: StorePosition,
pub upper_inclusive: StorePosition,
pub resume_after: Option<StoreRecordId>,
pub max_rows: Option<usize>,
}Fields§
§lower_exclusive: StorePosition§upper_inclusive: StorePosition§resume_after: Option<StoreRecordId>§max_rows: Option<usize>Implementations§
Source§impl StoreReadOptions
impl StoreReadOptions
pub fn unbounded() -> Self
pub fn with_upper_inclusive(self, upper: StorePosition) -> Self
pub fn with_lower_exclusive(self, lower: StorePosition) -> Self
pub fn with_resume_after(self, cursor: StoreRecordId) -> Self
pub fn with_max_rows(self, max_rows: usize) -> Self
Trait Implementations§
Source§impl Clone for StoreReadOptions
impl Clone for StoreReadOptions
Source§fn clone(&self) -> StoreReadOptions
fn clone(&self) -> StoreReadOptions
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 StoreReadOptions
impl Debug for StoreReadOptions
impl Eq for StoreReadOptions
Source§impl Hash for StoreReadOptions
impl Hash for StoreReadOptions
Source§impl PartialEq for StoreReadOptions
impl PartialEq for StoreReadOptions
Source§fn eq(&self, other: &StoreReadOptions) -> bool
fn eq(&self, other: &StoreReadOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StoreReadOptions
Auto Trait Implementations§
impl Freeze for StoreReadOptions
impl RefUnwindSafe for StoreReadOptions
impl Send for StoreReadOptions
impl Sync for StoreReadOptions
impl Unpin for StoreReadOptions
impl UnsafeUnpin for StoreReadOptions
impl UnwindSafe for StoreReadOptions
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