pub struct RecordRange {
pub table: String,
pub start: Option<RecordIdValue>,
pub end: Option<RecordIdValue>,
pub start_inclusive: bool,
pub end_inclusive: bool,
}Expand description
Record range for selecting multiple records
Fields§
§table: String§start: Option<RecordIdValue>§end: Option<RecordIdValue>§start_inclusive: bool§end_inclusive: boolImplementations§
Source§impl RecordRange
impl RecordRange
Sourcepub fn start(self, start: impl Into<RecordIdValue>, inclusive: bool) -> Self
pub fn start(self, start: impl Into<RecordIdValue>, inclusive: bool) -> Self
Set the start of the range
Sourcepub fn end(self, end: impl Into<RecordIdValue>, inclusive: bool) -> Self
pub fn end(self, end: impl Into<RecordIdValue>, inclusive: bool) -> Self
Set the end of the range
Trait Implementations§
Source§impl Clone for RecordRange
impl Clone for RecordRange
Source§fn clone(&self) -> RecordRange
fn clone(&self) -> RecordRange
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 RecordRange
impl Debug for RecordRange
Source§impl Display for RecordRange
impl Display for RecordRange
Source§impl PartialEq for RecordRange
impl PartialEq for RecordRange
Source§fn eq(&self, other: &RecordRange) -> bool
fn eq(&self, other: &RecordRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecordRange
Auto Trait Implementations§
impl Freeze for RecordRange
impl RefUnwindSafe for RecordRange
impl Send for RecordRange
impl Sync for RecordRange
impl Unpin for RecordRange
impl UnsafeUnpin for RecordRange
impl UnwindSafe for RecordRange
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