Enum vega_lite_4::TimeUnitUnion
source · pub enum TimeUnitUnion {
Enum(TimeUnit),
TimeUnitParams(TimeUnitParams),
}
Expand description
Time unit for the field to be tested.
Time unit (e.g., year
, yearmonth
, month
, hours
) for a temporal field. or a
temporal field that gets casted as
ordinal.
Default value: undefined
(None)
See also: timeUnit
documentation.
The timeUnit.
Variants§
Enum(TimeUnit)
TimeUnitParams(TimeUnitParams)
Trait Implementations§
source§impl Clone for TimeUnitUnion
impl Clone for TimeUnitUnion
source§fn clone(&self) -> TimeUnitUnion
fn clone(&self) -> TimeUnitUnion
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 TimeUnitUnion
impl Debug for TimeUnitUnion
source§impl<'de> Deserialize<'de> for TimeUnitUnion
impl<'de> Deserialize<'de> for TimeUnitUnion
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 From<TimeUnit> for TimeUnitUnion
impl From<TimeUnit> for TimeUnitUnion
source§fn from(original: TimeUnit) -> TimeUnitUnion
fn from(original: TimeUnit) -> TimeUnitUnion
Converts to this type from the input type.
source§impl From<TimeUnitParams> for TimeUnitUnion
impl From<TimeUnitParams> for TimeUnitUnion
source§fn from(original: TimeUnitParams) -> TimeUnitUnion
fn from(original: TimeUnitParams) -> TimeUnitUnion
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for TimeUnitUnion
impl Send for TimeUnitUnion
impl Sync for TimeUnitUnion
impl Unpin for TimeUnitUnion
impl UnwindSafe for TimeUnitUnion
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