pub struct RangeOptions {
pub start: Option<u64>,
pub count: Option<u64>,
pub expand: Option<bool>,
pub from_end: Option<bool>,
}Expand description
Range options for paginated queries
Fields§
§start: Option<u64>Starting index
count: Option<u64>Number of results to return
expand: Option<bool>Expand results with full data
from_end: Option<bool>Query from the end of the range
Trait Implementations§
Source§impl Clone for RangeOptions
impl Clone for RangeOptions
Source§fn clone(&self) -> RangeOptions
fn clone(&self) -> RangeOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 RangeOptions
impl Debug for RangeOptions
Source§impl Default for RangeOptions
impl Default for RangeOptions
Source§fn default() -> RangeOptions
fn default() -> RangeOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RangeOptions
impl<'de> Deserialize<'de> for RangeOptions
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 RangeOptions
impl PartialEq for RangeOptions
Source§impl Serialize for RangeOptions
impl Serialize for RangeOptions
impl StructuralPartialEq for RangeOptions
Auto Trait Implementations§
impl Freeze for RangeOptions
impl RefUnwindSafe for RangeOptions
impl Send for RangeOptions
impl Sync for RangeOptions
impl Unpin for RangeOptions
impl UnsafeUnpin for RangeOptions
impl UnwindSafe for RangeOptions
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