pub struct MatchRange {
pub end: i64,
pub start: i64,
}
Expand description
An object that represents the range of values to match on. The first character of the range is included in the range, though the last character is not. For example, if the range specified were 1-100, only values 1-99 would be matched.
Fields§
§end: i64
The end of the range.
start: i64
The start of the range.
Trait Implementations§
Source§impl Clone for MatchRange
impl Clone for MatchRange
Source§fn clone(&self) -> MatchRange
fn clone(&self) -> MatchRange
Returns a copy 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 MatchRange
impl Debug for MatchRange
Source§impl Default for MatchRange
impl Default for MatchRange
Source§fn default() -> MatchRange
fn default() -> MatchRange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MatchRange
impl<'de> Deserialize<'de> for MatchRange
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 MatchRange
impl PartialEq for MatchRange
Source§impl Serialize for MatchRange
impl Serialize for MatchRange
impl StructuralPartialEq for MatchRange
Auto Trait Implementations§
impl Freeze for MatchRange
impl RefUnwindSafe for MatchRange
impl Send for MatchRange
impl Sync for MatchRange
impl Unpin for MatchRange
impl UnwindSafe for MatchRange
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