icu_datetime::fieldsets

Struct Combo

Source
pub struct Combo<DT, Z> { /* private fields */ }
Expand description

Struct for combining date/time fields with zone fields.

This struct produces “composite field sets” as defined in UTS 35. See fieldsets.

§Examples

Only one way to construct a combo field set (in this case, weekday with location-based zone):

use icu::datetime::fieldsets::{zone::Location, Combo, E};

let field_set = E::long().zone(Location);

Format the weekday, hour, and location-based zone:

use icu::datetime::fieldsets::{zone::Location, Combo, ET};
use icu::datetime::input::ZonedDateTime;
use icu::datetime::DateTimeFormatter;
use icu::locale::locale;
use icu::time::zone::IanaParser;
use writeable::assert_writeable_eq;

// Note: Combo type can be elided, but it is shown here for demonstration
let formatter = DateTimeFormatter::<Combo<ET, Location>>::try_new(
    locale!("en-US").into(),
    ET::short().hm().zone(Location),
)
.unwrap();

let zdt = ZonedDateTime::try_location_only_from_str(
    "2024-10-18T15:44[America/Los_Angeles]",
    formatter.calendar(),
    IanaParser::new(),
)
.unwrap();

assert_writeable_eq!(
    formatter.format(&zdt),
    "Fri, 3:44 PM Los Angeles Time"
);

Same thing with a fixed calendar formatter:

use icu::calendar::Gregorian;
use icu::datetime::fieldsets::{zone::Location, Combo, ET};
use icu::datetime::input::ZonedDateTime;
use icu::datetime::FixedCalendarDateTimeFormatter;
use icu::locale::locale;
use icu::time::zone::IanaParser;
use writeable::assert_writeable_eq;

// Note: Combo type can be elided, but it is shown here for demonstration
let formatter =
    FixedCalendarDateTimeFormatter::<_, Combo<ET, Location>>::try_new(
        locale!("en-US").into(),
        ET::short().hm().zone(Location),
    )
    .unwrap();

let zdt = ZonedDateTime::try_location_only_from_str(
    "2024-10-18T15:44[America/Los_Angeles]",
    Gregorian,
    IanaParser::new(),
)
.unwrap();

assert_writeable_eq!(
    formatter.format(&zdt),
    "Fri, 3:44 PM Los Angeles Time"
);

Mix a dynamic DateFieldSet with a static time zone:

use icu::datetime::fieldsets::{
    enums::DateFieldSet, zone::GenericShort, Combo, YMD,
};
use icu::datetime::input::ZonedDateTime;
use icu::datetime::DateTimeFormatter;
use icu::locale::locale;
use icu::time::zone::IanaParser;
use writeable::assert_writeable_eq;

// Note: Combo type can be elided, but it is shown here for demonstration
let formatter =
    DateTimeFormatter::<Combo<DateFieldSet, GenericShort>>::try_new(
        locale!("en-US").into(),
        DateFieldSet::YMD(YMD::long()).zone(GenericShort),
    )
    .unwrap();

let zdt = ZonedDateTime::try_location_only_from_str(
    "2024-10-18T15:44[America/Los_Angeles]",
    formatter.calendar(),
    IanaParser::new(),
)
.unwrap();

assert_writeable_eq!(formatter.format(&zdt), "October 18, 2024 PT");

Format with a time of day and long time zone:

use icu::calendar::Gregorian;
use icu::datetime::fieldsets::{zone::SpecificLong, T};
use icu::datetime::input::ZonedDateTime;
use icu::datetime::FixedCalendarDateTimeFormatter;
use icu::locale::locale;
use icu::time::zone::{IanaParser, VariantOffsetsCalculator};
use writeable::assert_writeable_eq;

let formatter = FixedCalendarDateTimeFormatter::try_new(
    locale!("en-US").into(),
    T::medium().zone(SpecificLong),
)
.unwrap();

let zdt = ZonedDateTime::try_from_str(
    "2024-10-18T15:44-0700[America/Los_Angeles]",
    Gregorian,
    IanaParser::new(),
    VariantOffsetsCalculator::new(),
)
.unwrap();

assert_writeable_eq!(
    formatter.format(&zdt),
    "3:44:00 PM Pacific Daylight Time"
);

Implementations§

Source§

impl Combo<D, SpecificLong>

Source

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

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

Source§

impl Combo<D, SpecificShort>

Source

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

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

Source§

impl Combo<D, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<D, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<D, GenericLong>

Source

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

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

Source§

impl Combo<D, GenericShort>

Source

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

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

Source§

impl Combo<D, Location>

Source

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

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

Source§

impl Combo<DT, SpecificLong>

Source

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

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

Source§

impl Combo<DT, SpecificShort>

Source

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

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

Source§

impl Combo<DT, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<DT, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<DT, GenericLong>

Source

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

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

Source§

impl Combo<DT, GenericShort>

Source

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

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

Source§

impl Combo<DT, Location>

Source

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

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

Source§

impl Combo<E, SpecificLong>

Source

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

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

Source§

impl Combo<E, SpecificShort>

Source

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

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

Source§

impl Combo<E, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<E, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<E, GenericLong>

Source

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

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

Source§

impl Combo<E, GenericShort>

Source

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

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

Source§

impl Combo<E, Location>

Source

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

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

Source§

impl Combo<ET, SpecificLong>

Source

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

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

Source§

impl Combo<ET, SpecificShort>

Source

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

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

Source§

impl Combo<ET, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<ET, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<ET, GenericLong>

Source

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

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

Source§

impl Combo<ET, GenericShort>

Source

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

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

Source§

impl Combo<ET, Location>

Source

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

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

Source§

impl Combo<DE, SpecificLong>

Source

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

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

Source§

impl Combo<DE, SpecificShort>

Source

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

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

Source§

impl Combo<DE, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<DE, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<DE, GenericLong>

Source

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

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

Source§

impl Combo<DE, GenericShort>

Source

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

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

Source§

impl Combo<DE, Location>

Source

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

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

Source§

impl Combo<DET, SpecificLong>

Source

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

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

Source§

impl Combo<DET, SpecificShort>

Source

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

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

Source§

impl Combo<DET, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<DET, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<DET, GenericLong>

Source

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

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

Source§

impl Combo<DET, GenericShort>

Source

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

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

Source§

impl Combo<DET, Location>

Source

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

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

Source§

impl Combo<MD, SpecificLong>

Source

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

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

Source§

impl Combo<MD, SpecificShort>

Source

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

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

Source§

impl Combo<MD, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<MD, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<MD, GenericLong>

Source

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

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

Source§

impl Combo<MD, GenericShort>

Source

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

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

Source§

impl Combo<MD, Location>

Source

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

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

Source§

impl Combo<MDT, SpecificLong>

Source

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

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

Source§

impl Combo<MDT, SpecificShort>

Source

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

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

Source§

impl Combo<MDT, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<MDT, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<MDT, GenericLong>

Source

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

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

Source§

impl Combo<MDT, GenericShort>

Source

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

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

Source§

impl Combo<MDT, Location>

Source

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

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

Source§

impl Combo<MDE, SpecificLong>

Source

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

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

Source§

impl Combo<MDE, SpecificShort>

Source

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

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

Source§

impl Combo<MDE, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<MDE, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<MDE, GenericLong>

Source

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

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

Source§

impl Combo<MDE, GenericShort>

Source

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

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

Source§

impl Combo<MDE, Location>

Source

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

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

Source§

impl Combo<MDET, SpecificLong>

Source

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

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

Source§

impl Combo<MDET, SpecificShort>

Source

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

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

Source§

impl Combo<MDET, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<MDET, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<MDET, GenericLong>

Source

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

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

Source§

impl Combo<MDET, GenericShort>

Source

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

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

Source§

impl Combo<MDET, Location>

Source

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

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

Source§

impl Combo<YMD, SpecificLong>

Source

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

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

Source§

impl Combo<YMD, SpecificShort>

Source

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

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

Source§

impl Combo<YMD, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<YMD, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<YMD, GenericLong>

Source

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

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

Source§

impl Combo<YMD, GenericShort>

Source

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

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

Source§

impl Combo<YMD, Location>

Source

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

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

Source§

impl Combo<YMDT, SpecificLong>

Source

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

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

Source§

impl Combo<YMDT, SpecificShort>

Source

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

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

Source§

impl Combo<YMDT, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<YMDT, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<YMDT, GenericLong>

Source

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

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

Source§

impl Combo<YMDT, GenericShort>

Source

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

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

Source§

impl Combo<YMDT, Location>

Source

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

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

Source§

impl Combo<YMDE, SpecificLong>

Source

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

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

Source§

impl Combo<YMDE, SpecificShort>

Source

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

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

Source§

impl Combo<YMDE, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<YMDE, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<YMDE, GenericLong>

Source

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

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

Source§

impl Combo<YMDE, GenericShort>

Source

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

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

Source§

impl Combo<YMDE, Location>

Source

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

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

Source§

impl Combo<YMDET, SpecificLong>

Source

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

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

Source§

impl Combo<YMDET, SpecificShort>

Source

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

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

Source§

impl Combo<YMDET, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<YMDET, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<YMDET, GenericLong>

Source

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

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

Source§

impl Combo<YMDET, GenericShort>

Source

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

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

Source§

impl Combo<YMDET, Location>

Source

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

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

Source§

impl Combo<T, SpecificLong>

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.

Source§

impl Combo<T, SpecificShort>

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.

Source§

impl Combo<T, LocalizedOffsetLong>

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.

Source§

impl Combo<T, LocalizedOffsetShort>

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.

Source§

impl Combo<T, GenericLong>

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.

Source§

impl Combo<T, GenericShort>

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.

Source§

impl Combo<T, Location>

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.

Source§

impl Combo<DateFieldSet, SpecificLong>

Source

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

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

Source§

impl Combo<DateFieldSet, SpecificShort>

Source

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

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

Source§

impl Combo<DateFieldSet, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<DateFieldSet, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<DateFieldSet, GenericLong>

Source

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

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

Source§

impl Combo<DateFieldSet, GenericShort>

Source

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

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

Source§

impl Combo<DateFieldSet, Location>

Source

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

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

Source§

impl Combo<TimeFieldSet, SpecificLong>

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.

Source§

impl Combo<TimeFieldSet, SpecificShort>

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.

Source§

impl Combo<TimeFieldSet, LocalizedOffsetLong>

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.

Source§

impl Combo<TimeFieldSet, LocalizedOffsetShort>

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.

Source§

impl Combo<TimeFieldSet, GenericLong>

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.

Source§

impl Combo<TimeFieldSet, GenericShort>

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.

Source§

impl Combo<TimeFieldSet, Location>

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.

Source§

impl Combo<DateAndTimeFieldSet, SpecificLong>

Source

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

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

Source§

impl Combo<DateAndTimeFieldSet, SpecificShort>

Source

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

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

Source§

impl Combo<DateAndTimeFieldSet, LocalizedOffsetLong>

Source

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

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

Source§

impl Combo<DateAndTimeFieldSet, LocalizedOffsetShort>

Source

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

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

Source§

impl Combo<DateAndTimeFieldSet, GenericLong>

Source

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

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

Source§

impl Combo<DateAndTimeFieldSet, GenericShort>

Source

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

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

Source§

impl Combo<DateAndTimeFieldSet, Location>

Source

pub fn into_enums(self) -> Combo<DateAndTimeFieldSet, 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 = GluePatternV1

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<D, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<D, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<D, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<D, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<D, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<D, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<D, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DE, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DE, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DE, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DE, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DE, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DE, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DE, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DET, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DET, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DET, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DET, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DET, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DET, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DET, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DT, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DT, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DT, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DT, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DT, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DT, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DT, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DateAndTimeFieldSet, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DateAndTimeFieldSet, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DateAndTimeFieldSet, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DateAndTimeFieldSet, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DateAndTimeFieldSet, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DateAndTimeFieldSet, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DateAndTimeFieldSet, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DateFieldSet, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DateFieldSet, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DateFieldSet, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DateFieldSet, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DateFieldSet, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DateFieldSet, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<DateFieldSet, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<E, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<E, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<E, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<E, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<E, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<E, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<E, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<ET, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<ET, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<ET, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<ET, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<ET, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<ET, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<ET, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MD, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MD, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MD, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MD, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MD, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MD, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MD, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDE, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDE, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDE, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDE, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDE, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDE, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDE, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDET, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDET, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDET, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDET, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDET, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDET, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDET, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDT, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDT, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDT, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDT, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDT, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDT, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<MDT, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<T, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<T, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<T, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<T, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<T, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<T, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<T, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

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

Source§

fn get_field(&self) -> CompositeFieldSet

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

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

Source§

fn get_field(&self) -> CompositeFieldSet

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

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

Source§

fn get_field(&self) -> CompositeFieldSet

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

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

Source§

fn get_field(&self) -> CompositeFieldSet

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

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

Source§

fn get_field(&self) -> CompositeFieldSet

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

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

Source§

fn get_field(&self) -> CompositeFieldSet

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

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

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMD, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMD, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMD, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMD, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMD, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMD, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMD, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDE, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDE, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDE, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDE, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDE, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDE, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDE, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDET, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDET, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDET, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDET, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDET, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDET, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDET, SpecificShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDT, GenericLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDT, GenericShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDT, LocalizedOffsetLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDT, LocalizedOffsetShort>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDT, Location>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDT, SpecificLong>

Source§

fn get_field(&self) -> CompositeFieldSet

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

impl GetField<CompositeFieldSet> for Combo<YMDT, SpecificShort>

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>

Auto Trait Implementations§

§

impl<DT, Z> Freeze for Combo<DT, Z>
where DT: Freeze, Z: Freeze,

§

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

§

impl<DT, Z> Send for Combo<DT, Z>
where DT: Send, Z: Send,

§

impl<DT, Z> Sync for Combo<DT, Z>
where DT: Sync, Z: Sync,

§

impl<DT, Z> Unpin for Combo<DT, Z>
where DT: Unpin, Z: Unpin,

§

impl<DT, Z> UnwindSafe for Combo<DT, Z>
where DT: UnwindSafe, Z: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<M, T> DateTimeNamesFrom<M> for T
where M: DateTimeNamesMarker, T: DateTimeNamesMarker, <<T as DateTimeNamesMarker>::YearNames as NamesContainer<YearNamesV1, YearNameLength>>::Container: From<<<M as DateTimeNamesMarker>::YearNames as NamesContainer<YearNamesV1, YearNameLength>>::Container>, <<T as DateTimeNamesMarker>::MonthNames as NamesContainer<MonthNamesV1, MonthNameLength>>::Container: From<<<M as DateTimeNamesMarker>::MonthNames as NamesContainer<MonthNamesV1, MonthNameLength>>::Container>, <<T as DateTimeNamesMarker>::WeekdayNames as NamesContainer<WeekdayNamesV1, WeekdayNameLength>>::Container: From<<<M as DateTimeNamesMarker>::WeekdayNames as NamesContainer<WeekdayNamesV1, WeekdayNameLength>>::Container>, <<T as DateTimeNamesMarker>::DayPeriodNames as NamesContainer<DayPeriodNamesV1, DayPeriodNameLength>>::Container: From<<<M as DateTimeNamesMarker>::DayPeriodNames as NamesContainer<DayPeriodNamesV1, DayPeriodNameLength>>::Container>, <<T as DateTimeNamesMarker>::ZoneEssentials as NamesContainer<TimeZoneEssentialsV1, ()>>::Container: From<<<M as DateTimeNamesMarker>::ZoneEssentials as NamesContainer<TimeZoneEssentialsV1, ()>>::Container>, <<T as DateTimeNamesMarker>::ZoneLocations as NamesContainer<LocationsV1, ()>>::Container: From<<<M as DateTimeNamesMarker>::ZoneLocations as NamesContainer<LocationsV1, ()>>::Container>, <<T as DateTimeNamesMarker>::ZoneLocationsRoot as NamesContainer<LocationsRootV1, ()>>::Container: From<<<M as DateTimeNamesMarker>::ZoneLocationsRoot as NamesContainer<LocationsRootV1, ()>>::Container>, <<T as DateTimeNamesMarker>::ZoneExemplars as NamesContainer<ExemplarCitiesV1, ()>>::Container: From<<<M as DateTimeNamesMarker>::ZoneExemplars as NamesContainer<ExemplarCitiesV1, ()>>::Container>, <<T as DateTimeNamesMarker>::ZoneExemplarsRoot as NamesContainer<ExemplarCitiesRootV1, ()>>::Container: From<<<M as DateTimeNamesMarker>::ZoneExemplarsRoot as NamesContainer<ExemplarCitiesRootV1, ()>>::Container>, <<T as DateTimeNamesMarker>::ZoneGenericLong as NamesContainer<MetazoneGenericNamesLongV1, ()>>::Container: From<<<M as DateTimeNamesMarker>::ZoneGenericLong as NamesContainer<MetazoneGenericNamesLongV1, ()>>::Container>, <<T as DateTimeNamesMarker>::ZoneGenericShort as NamesContainer<MetazoneGenericNamesShortV1, ()>>::Container: From<<<M as DateTimeNamesMarker>::ZoneGenericShort as NamesContainer<MetazoneGenericNamesShortV1, ()>>::Container>, <<T as DateTimeNamesMarker>::ZoneStandardLong as NamesContainer<MetazoneStandardNamesLongV1, ()>>::Container: From<<<M as DateTimeNamesMarker>::ZoneStandardLong as NamesContainer<MetazoneStandardNamesLongV1, ()>>::Container>, <<T as DateTimeNamesMarker>::ZoneSpecificLong as NamesContainer<MetazoneSpecificNamesLongV1, ()>>::Container: From<<<M as DateTimeNamesMarker>::ZoneSpecificLong as NamesContainer<MetazoneSpecificNamesLongV1, ()>>::Container>, <<T as DateTimeNamesMarker>::ZoneSpecificShort as NamesContainer<MetazoneSpecificNamesShortV1, ()>>::Container: From<<<M as DateTimeNamesMarker>::ZoneSpecificShort as NamesContainer<MetazoneSpecificNamesShortV1, ()>>::Container>, <<T as DateTimeNamesMarker>::MetazoneLookup as NamesContainer<MetazonePeriodV1, ()>>::Container: From<<<M as DateTimeNamesMarker>::MetazoneLookup as NamesContainer<MetazonePeriodV1, ()>>::Container>,

Source§

fn map_year_names( other: <<M as DateTimeNamesMarker>::YearNames as NamesContainer<YearNamesV1, YearNameLength>>::Container, ) -> <<T as DateTimeNamesMarker>::YearNames as NamesContainer<YearNamesV1, YearNameLength>>::Container

Source§

fn map_month_names( other: <<M as DateTimeNamesMarker>::MonthNames as NamesContainer<MonthNamesV1, MonthNameLength>>::Container, ) -> <<T as DateTimeNamesMarker>::MonthNames as NamesContainer<MonthNamesV1, MonthNameLength>>::Container

Source§

fn map_weekday_names( other: <<M as DateTimeNamesMarker>::WeekdayNames as NamesContainer<WeekdayNamesV1, WeekdayNameLength>>::Container, ) -> <<T as DateTimeNamesMarker>::WeekdayNames as NamesContainer<WeekdayNamesV1, WeekdayNameLength>>::Container

Source§

fn map_day_period_names( other: <<M as DateTimeNamesMarker>::DayPeriodNames as NamesContainer<DayPeriodNamesV1, DayPeriodNameLength>>::Container, ) -> <<T as DateTimeNamesMarker>::DayPeriodNames as NamesContainer<DayPeriodNamesV1, DayPeriodNameLength>>::Container

Source§

fn map_zone_essentials( other: <<M as DateTimeNamesMarker>::ZoneEssentials as NamesContainer<TimeZoneEssentialsV1, ()>>::Container, ) -> <<T as DateTimeNamesMarker>::ZoneEssentials as NamesContainer<TimeZoneEssentialsV1, ()>>::Container

Source§

fn map_zone_locations( other: <<M as DateTimeNamesMarker>::ZoneLocations as NamesContainer<LocationsV1, ()>>::Container, ) -> <<T as DateTimeNamesMarker>::ZoneLocations as NamesContainer<LocationsV1, ()>>::Container

Source§

fn map_zone_locations_root( other: <<M as DateTimeNamesMarker>::ZoneLocationsRoot as NamesContainer<LocationsRootV1, ()>>::Container, ) -> <<T as DateTimeNamesMarker>::ZoneLocationsRoot as NamesContainer<LocationsRootV1, ()>>::Container

Source§

fn map_zone_exemplars( other: <<M as DateTimeNamesMarker>::ZoneExemplars as NamesContainer<ExemplarCitiesV1, ()>>::Container, ) -> <<T as DateTimeNamesMarker>::ZoneExemplars as NamesContainer<ExemplarCitiesV1, ()>>::Container

Source§

fn map_zone_exemplars_root( other: <<M as DateTimeNamesMarker>::ZoneExemplarsRoot as NamesContainer<ExemplarCitiesRootV1, ()>>::Container, ) -> <<T as DateTimeNamesMarker>::ZoneExemplarsRoot as NamesContainer<ExemplarCitiesRootV1, ()>>::Container

Source§

fn map_zone_generic_long( other: <<M as DateTimeNamesMarker>::ZoneGenericLong as NamesContainer<MetazoneGenericNamesLongV1, ()>>::Container, ) -> <<T as DateTimeNamesMarker>::ZoneGenericLong as NamesContainer<MetazoneGenericNamesLongV1, ()>>::Container

Source§

fn map_zone_generic_short( other: <<M as DateTimeNamesMarker>::ZoneGenericShort as NamesContainer<MetazoneGenericNamesShortV1, ()>>::Container, ) -> <<T as DateTimeNamesMarker>::ZoneGenericShort as NamesContainer<MetazoneGenericNamesShortV1, ()>>::Container

Source§

fn map_zone_standard_long( other: <<M as DateTimeNamesMarker>::ZoneStandardLong as NamesContainer<MetazoneStandardNamesLongV1, ()>>::Container, ) -> <<T as DateTimeNamesMarker>::ZoneStandardLong as NamesContainer<MetazoneStandardNamesLongV1, ()>>::Container

Source§

fn map_zone_specific_long( other: <<M as DateTimeNamesMarker>::ZoneSpecificLong as NamesContainer<MetazoneSpecificNamesLongV1, ()>>::Container, ) -> <<T as DateTimeNamesMarker>::ZoneSpecificLong as NamesContainer<MetazoneSpecificNamesLongV1, ()>>::Container

Source§

fn map_zone_specific_short( other: <<M as DateTimeNamesMarker>::ZoneSpecificShort as NamesContainer<MetazoneSpecificNamesShortV1, ()>>::Container, ) -> <<T as DateTimeNamesMarker>::ZoneSpecificShort as NamesContainer<MetazoneSpecificNamesShortV1, ()>>::Container

Source§

fn map_metazone_lookup( other: <<M as DateTimeNamesMarker>::MetazoneLookup as NamesContainer<MetazonePeriodV1, ()>>::Container, ) -> <<T as DateTimeNamesMarker>::MetazoneLookup as NamesContainer<MetazonePeriodV1, ()>>::Container

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> GetField<T> for T
where T: Copy + UnstableSealed,

Source§

fn get_field(&self) -> T

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

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> ErasedDestructor for T
where T: 'static,