pub struct LimitClause {
pub count: u64,
pub per_partition: bool,
}Expand description
LIMIT clause
Fields§
§count: u64Maximum number of rows
per_partition: boolPer-partition limit (Cassandra-specific)
Trait Implementations§
Source§impl Clone for LimitClause
impl Clone for LimitClause
Source§fn clone(&self) -> LimitClause
fn clone(&self) -> LimitClause
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 LimitClause
impl Debug for LimitClause
Source§impl<'de> Deserialize<'de> for LimitClause
impl<'de> Deserialize<'de> for LimitClause
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LimitClause
impl PartialEq for LimitClause
Source§fn eq(&self, other: &LimitClause) -> bool
fn eq(&self, other: &LimitClause) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LimitClause
impl Serialize for LimitClause
impl StructuralPartialEq for LimitClause
Auto Trait Implementations§
impl Freeze for LimitClause
impl RefUnwindSafe for LimitClause
impl Send for LimitClause
impl Sync for LimitClause
impl Unpin for LimitClause
impl UnsafeUnpin for LimitClause
impl UnwindSafe for LimitClause
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