pub struct RangeOptions {
pub start: u64,
pub end: u64,
pub step: u64,
}
Expand description
The range options.
Fields§
§start: u64
The start of the range.
end: u64
The end of the range.
step: u64
The step of the range.
Implementations§
source§impl RangeOptions
impl RangeOptions
source§impl RangeOptions
impl RangeOptions
Trait Implementations§
source§impl Clone for RangeOptions
impl Clone for RangeOptions
source§impl Config for RangeOptions
impl Config for RangeOptions
source§impl Debug for RangeOptions
impl Debug for RangeOptions
source§impl Default for RangeOptions
impl Default for RangeOptions
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 Display for RangeOptions
impl Display for RangeOptions
source§impl PartialEq for RangeOptions
impl PartialEq for RangeOptions
source§impl Serialize for RangeOptions
impl Serialize for RangeOptions
impl Copy 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more