pub struct FirstPageRows(/* private fields */);Expand description
一次请求带的首页行数。QueryRequest 派生 Default,裸 usize 会默认成 0 从而把补全词整组关掉,所以用带默认值的新类型;new 把 0 归一成 1。
Implementations§
Trait Implementations§
Source§impl Clone for FirstPageRows
impl Clone for FirstPageRows
impl Copy for FirstPageRows
Source§impl Debug for FirstPageRows
impl Debug for FirstPageRows
Source§impl Default for FirstPageRows
impl Default for FirstPageRows
impl Eq for FirstPageRows
Source§impl PartialEq for FirstPageRows
impl PartialEq for FirstPageRows
impl StructuralPartialEq for FirstPageRows
Auto Trait Implementations§
impl Freeze for FirstPageRows
impl RefUnwindSafe for FirstPageRows
impl Send for FirstPageRows
impl Sync for FirstPageRows
impl Unpin for FirstPageRows
impl UnsafeUnpin for FirstPageRows
impl UnwindSafe for FirstPageRows
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.