pub struct IntervalSpan {
pub this: IntervalUnit,
pub expression: IntervalUnit,
}Expand description
Interval span for ranges like HOUR TO SECOND
Fields§
§this: IntervalUnitStart unit (e.g., HOUR)
expression: IntervalUnitEnd unit (e.g., SECOND)
Trait Implementations§
Source§impl Clone for IntervalSpan
impl Clone for IntervalSpan
Source§fn clone(&self) -> IntervalSpan
fn clone(&self) -> IntervalSpan
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 IntervalSpan
impl Debug for IntervalSpan
Source§impl<'de> Deserialize<'de> for IntervalSpan
impl<'de> Deserialize<'de> for IntervalSpan
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 IntervalSpan
impl PartialEq for IntervalSpan
Source§impl Serialize for IntervalSpan
impl Serialize for IntervalSpan
impl StructuralPartialEq for IntervalSpan
Auto Trait Implementations§
impl Freeze for IntervalSpan
impl RefUnwindSafe for IntervalSpan
impl Send for IntervalSpan
impl Sync for IntervalSpan
impl Unpin for IntervalSpan
impl UnwindSafe for IntervalSpan
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