Type Alias ZonedTimeFieldSet

Source
pub type ZonedTimeFieldSet = Combo<TimeFieldSet, ZoneFieldSet>;
Expand description

Type alias representing all possible time + time zone field sets.

This is a dynamic field set. For more information, see enums.

Aliased Type§

struct ZonedTimeFieldSet { /* private fields */ }

Implementations

Source§

impl Combo<TimeFieldSet, ZoneFieldSet>

Source

pub fn into_enums(self) -> Combo<TimeFieldSet, ZoneFieldSet>

Convert this specific Combo into a more general Combo. Useful when adding to the field of a CompositeFieldSet.

Trait Implementations

Source§

impl<DT: Clone, Z: Clone> Clone for Combo<DT, Z>

Source§

fn clone(&self) -> Combo<DT, Z>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<DT, Z> DateTimeMarkers for Combo<DT, Z>

Source§

type D = <DT as DateTimeMarkers>::D

Associated types for date formatting. Read more
Source§

type T = <DT as DateTimeMarkers>::T

Associated types for time formatting. Read more
Source§

type Z = <Z as DateTimeMarkers>::Z

Associated types for time zone formatting. Read more
Source§

type GluePatternV1 = DatetimePatternsGlueV1

Marker for loading the date/time glue pattern.
Source§

impl<DT, Z> DateTimeNamesMarker for Combo<DT, Z>

Source§

impl<DT: Debug, Z: Debug> Debug for Combo<DT, Z>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl GetField<CompositeFieldSet> for Combo<TimeFieldSet, ZoneFieldSet>

Source§

fn get_field(&self) -> CompositeFieldSet

Returns the value of this trait’s field T.
Source§

impl<DT: PartialEq, Z: PartialEq> PartialEq for Combo<DT, Z>

Source§

fn eq(&self, other: &Combo<DT, Z>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<DT: Copy, Z: Copy> Copy for Combo<DT, Z>

Source§

impl<DT: Eq, Z: Eq> Eq for Combo<DT, Z>

Source§

impl<DT, Z> StructuralPartialEq for Combo<DT, Z>

Source§

impl<DT, Z> UnstableSealed for Combo<DT, Z>