Trait icu::datetime::scaffold::GetField

source ·
pub trait GetField<T>: UnstableSealed {
    // Required method
    fn get_field(&self) -> T;
}
Expand description

A type that can return a certain field T.

This is used as a bound on various datetime functions.

Required Methods§

source

fn get_field(&self) -> T

Returns the value of this trait’s field T.

Implementors§

source§

impl GetField<CompositeFieldSet> for CalendarPeriodFieldSet

source§

impl GetField<CompositeFieldSet> for CompositeDateTimeFieldSet

source§

impl GetField<CompositeFieldSet> for DateAndTimeFieldSet

source§

impl GetField<CompositeFieldSet> for DateFieldSet

source§

impl GetField<CompositeFieldSet> for TimeFieldSet

source§

impl GetField<CompositeFieldSet> for ZoneFieldSet

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl GetField<CompositeFieldSet> for D

source§

impl GetField<CompositeFieldSet> for DE

source§

impl GetField<CompositeFieldSet> for DET

source§

impl GetField<CompositeFieldSet> for DT

source§

impl GetField<CompositeFieldSet> for E

source§

impl GetField<CompositeFieldSet> for ET

source§

impl GetField<CompositeFieldSet> for L

source§

impl GetField<CompositeFieldSet> for M

source§

impl GetField<CompositeFieldSet> for MD

source§

impl GetField<CompositeFieldSet> for MDE

source§

impl GetField<CompositeFieldSet> for MDET

source§

impl GetField<CompositeFieldSet> for MDT

source§

impl GetField<CompositeFieldSet> for O

source§

impl GetField<CompositeFieldSet> for T

source§

impl GetField<CompositeFieldSet> for V

source§

impl GetField<CompositeFieldSet> for Y

source§

impl GetField<CompositeFieldSet> for YM

source§

impl GetField<CompositeFieldSet> for YMD

source§

impl GetField<CompositeFieldSet> for YMDE

source§

impl GetField<CompositeFieldSet> for YMDET

source§

impl GetField<CompositeFieldSet> for YMDT

source§

impl GetField<CompositeFieldSet> for Z

source§

impl GetField<Option<UtcOffset>> for UtcOffset

source§

impl GetField<()> for Time

source§

impl GetField<()> for UtcOffset

source§

impl GetField<IsoHour> for Time

source§

impl GetField<IsoMinute> for Time

source§

impl GetField<IsoSecond> for Time

source§

impl GetField<NanoSecond> for Time

source§

impl<C, A> GetField<IsoWeekday> for Date<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A> GetField<IsoWeekday> for DateTime<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A> GetField<()> for Date<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A> GetField<()> for DateTime<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A> GetField<DayOfMonth> for Date<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A> GetField<DayOfMonth> for DateTime<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A> GetField<DayOfYearInfo> for Date<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A> GetField<DayOfYearInfo> for DateTime<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A> GetField<IsoHour> for DateTime<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A> GetField<IsoMinute> for DateTime<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A> GetField<IsoSecond> for DateTime<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A> GetField<MonthInfo> for Date<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A> GetField<MonthInfo> for DateTime<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A> GetField<NanoSecond> for DateTime<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A> GetField<YearInfo> for Date<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A> GetField<YearInfo> for DateTime<A>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A, Z> GetField<(Date<Iso>, Time)> for CustomZonedDateTime<A, Z>
where C: Calendar, A: AsCalendar<Calendar = C>, Z: GetField<(Date<Iso>, Time)>,

source§

impl<C, A, Z> GetField<IsoWeekday> for CustomZonedDateTime<A, Z>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A, Z> GetField<ZoneVariant> for CustomZonedDateTime<A, Z>
where C: Calendar, A: AsCalendar<Calendar = C>, Z: GetField<ZoneVariant>,

source§

impl<C, A, Z> GetField<Option<UtcOffset>> for CustomZonedDateTime<A, Z>
where C: Calendar, A: AsCalendar<Calendar = C>, Z: GetField<Option<UtcOffset>>,

source§

impl<C, A, Z> GetField<()> for CustomZonedDateTime<A, Z>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A, Z> GetField<DayOfMonth> for CustomZonedDateTime<A, Z>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A, Z> GetField<DayOfYearInfo> for CustomZonedDateTime<A, Z>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A, Z> GetField<IsoHour> for CustomZonedDateTime<A, Z>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A, Z> GetField<IsoMinute> for CustomZonedDateTime<A, Z>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A, Z> GetField<IsoSecond> for CustomZonedDateTime<A, Z>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A, Z> GetField<MonthInfo> for CustomZonedDateTime<A, Z>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A, Z> GetField<NanoSecond> for CustomZonedDateTime<A, Z>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A, Z> GetField<YearInfo> for CustomZonedDateTime<A, Z>
where C: Calendar, A: AsCalendar<Calendar = C>,

source§

impl<C, A, Z> GetField<TimeZoneBcp47Id> for CustomZonedDateTime<A, Z>
where C: Calendar, A: AsCalendar<Calendar = C>, Z: GetField<TimeZoneBcp47Id>,

source§

impl<O> GetField<(Date<Iso>, Time)> for TimeZoneInfo<O>
where O: TimeZoneModel<LocalTime = (Date<Iso>, Time)>,

source§

impl<O> GetField<ZoneVariant> for TimeZoneInfo<O>
where O: TimeZoneModel<ZoneVariant = ZoneVariant>,

source§

impl<O> GetField<Option<UtcOffset>> for TimeZoneInfo<O>
where O: TimeZoneModel,

source§

impl<O> GetField<()> for TimeZoneInfo<O>
where O: TimeZoneModel,

source§

impl<O> GetField<TimeZoneBcp47Id> for TimeZoneInfo<O>
where O: TimeZoneModel,

source§

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