pub struct RangePageOptions {
pub offset: u64,
pub limit: u32,
pub include_values: bool,
pub expected_stamp: Option<StateStamp>,
}Expand description
Capacity minima that must hold the request’s own anchors are hard errors: trace requires max_nodes >= unique roots (and nonempty roots); range_page requires limit >= 1. All expansion budgets (max_depth, max_links, max_work, range_member_budget, max_results) accept zero and degrade to in-band truncation.
Fields§
§offset: u64§limit: u32§include_values: bool§expected_stamp: Option<StateStamp>Implementations§
Source§impl RangePageOptions
impl RangePageOptions
pub fn with_offset(self, offset: u64) -> Self
pub fn with_limit(self, limit: u32) -> Self
pub fn with_include_values(self, include_values: bool) -> Self
pub fn with_expected_stamp(self, expected_stamp: StateStamp) -> Self
Trait Implementations§
Source§impl Clone for RangePageOptions
impl Clone for RangePageOptions
Source§fn clone(&self) -> RangePageOptions
fn clone(&self) -> RangePageOptions
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 moreimpl Copy for RangePageOptions
Source§impl Debug for RangePageOptions
impl Debug for RangePageOptions
Source§impl Default for RangePageOptions
impl Default for RangePageOptions
impl Eq for RangePageOptions
Source§impl PartialEq for RangePageOptions
impl PartialEq for RangePageOptions
impl StructuralPartialEq for RangePageOptions
Auto Trait Implementations§
impl Freeze for RangePageOptions
impl RefUnwindSafe for RangePageOptions
impl Send for RangePageOptions
impl Sync for RangePageOptions
impl Unpin for RangePageOptions
impl UnsafeUnpin for RangePageOptions
impl UnwindSafe for RangePageOptions
Blanket Implementations§
impl<T> Allocation for T
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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