pub enum DurationValue {
Duration(Duration),
DayTimeDuration(DayTimeDuration),
YearMonthDuration(YearMonthDuration),
}Expand description
Any specialized Duration value.
Variants§
Implementations§
Source§impl DurationValue
impl DurationValue
pub fn datatype(&self) -> DurationDatatype
Trait Implementations§
Source§impl Clone for DurationValue
impl Clone for DurationValue
Source§fn clone(&self) -> DurationValue
fn clone(&self) -> DurationValue
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 DurationValue
impl Debug for DurationValue
Source§impl Display for DurationValue
impl Display for DurationValue
Source§impl From<DurationValue> for Value
impl From<DurationValue> for Value
Source§fn from(value: DurationValue) -> Self
fn from(value: DurationValue) -> Self
Converts to this type from the input type.
Source§impl TryFrom<Value> for DurationValue
impl TryFrom<Value> for DurationValue
Auto Trait Implementations§
impl Freeze for DurationValue
impl RefUnwindSafe for DurationValue
impl Send for DurationValue
impl Sync for DurationValue
impl Unpin for DurationValue
impl UnwindSafe for DurationValue
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