pub struct Slice {
pub number_rows: u64,
pub offset_value: i64,
}
Expand description
Limits for a limit clause
Fields§
§number_rows: u64
number of rows to return
if u64::MAX
, specify all rows
offset_value: i64
number of rows to skip
if 0, specify the first row as starting point if negative, specify the offset from the end (e.g. -1 is the last row, -2 is the second to last row, etc.)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Slice
impl<'de> Deserialize<'de> for Slice
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
impl Eq for Slice
impl StructuralPartialEq for Slice
Auto Trait Implementations§
impl Freeze for Slice
impl RefUnwindSafe for Slice
impl Send for Slice
impl Sync for Slice
impl Unpin for Slice
impl UnwindSafe for Slice
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