pub struct WalkLimits {
pub pages: usize,
pub items: usize,
}Expand description
How far a Walk goes.
Fields§
§pages: usizeThe most pages fetched, the collection itself included. Pages that come embedded in the one before cost no fetch, and do not count.
items: usizeThe most items handed out. Walk::next_page stops at the end of
the page that reaches it, rather than in the middle of one.
Trait Implementations§
Source§impl Clone for WalkLimits
impl Clone for WalkLimits
Source§fn clone(&self) -> WalkLimits
fn clone(&self) -> WalkLimits
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 WalkLimits
Source§impl Debug for WalkLimits
impl Debug for WalkLimits
Source§impl Default for WalkLimits
impl Default for WalkLimits
impl Eq for WalkLimits
Source§impl PartialEq for WalkLimits
impl PartialEq for WalkLimits
impl StructuralPartialEq for WalkLimits
Auto Trait Implementations§
impl Freeze for WalkLimits
impl RefUnwindSafe for WalkLimits
impl Send for WalkLimits
impl Sync for WalkLimits
impl Unpin for WalkLimits
impl UnsafeUnpin for WalkLimits
impl UnwindSafe for WalkLimits
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.