Trait icu::datetime::scaffold::GetField

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

A type that can return a certain field T.

Required Methods§

source

fn get_field(&self) -> T

Returns the value of this trait’s field T.

Implementors§

source§

impl GetField<NeoSkeletonLength> for D

source§

impl GetField<NeoSkeletonLength> for DE

source§

impl GetField<NeoSkeletonLength> for DET

source§

impl GetField<NeoSkeletonLength> for DT

source§

impl GetField<NeoSkeletonLength> for E

source§

impl GetField<NeoSkeletonLength> for ET

source§

impl GetField<NeoSkeletonLength> for L

source§

impl GetField<NeoSkeletonLength> for M

source§

impl GetField<NeoSkeletonLength> for MD

source§

impl GetField<NeoSkeletonLength> for MDE

source§

impl GetField<NeoSkeletonLength> for MDET

source§

impl GetField<NeoSkeletonLength> for MDT

source§

impl GetField<NeoSkeletonLength> for O

source§

impl GetField<NeoSkeletonLength> for T

source§

impl GetField<NeoSkeletonLength> for V

source§

impl GetField<NeoSkeletonLength> for Vs

source§

impl GetField<NeoSkeletonLength> for Y

source§

impl GetField<NeoSkeletonLength> for YM

source§

impl GetField<NeoSkeletonLength> for YMD

source§

impl GetField<NeoSkeletonLength> for YMDE

source§

impl GetField<NeoSkeletonLength> for YMDET

source§

impl GetField<NeoSkeletonLength> for YMDT

source§

impl GetField<NeoSkeletonLength> for Z

source§

impl GetField<NeoSkeletonLength> for Zs

source§

impl GetField<NeoSkeletonLength> for NeoCalendarPeriodSkeleton

source§

impl GetField<NeoSkeletonLength> for NeoDateSkeleton

source§

impl GetField<NeoSkeletonLength> for NeoDateTimeSkeleton

source§

impl GetField<NeoSkeletonLength> for NeoSkeleton

source§

impl GetField<NeoSkeletonLength> for NeoTimeSkeleton

source§

impl GetField<NeoSkeletonLength> for NeoTimeZoneSkeleton

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<NeoComponents> for NeoCalendarPeriodSkeleton

source§

impl GetField<NeoComponents> for NeoDateSkeleton

source§

impl GetField<NeoComponents> for NeoDateTimeSkeleton

source§

impl GetField<NeoComponents> for NeoSkeleton

source§

impl GetField<NeoComponents> for NeoTimeSkeleton

source§

impl GetField<NeoComponents> for NeoTimeZoneSkeleton

source§

impl GetField<Option<Alignment>> for D

source§

impl GetField<Option<Alignment>> for DE

source§

impl GetField<Option<Alignment>> for DET

source§

impl GetField<Option<Alignment>> for DT

source§

impl GetField<Option<Alignment>> for ET

source§

impl GetField<Option<Alignment>> for M

source§

impl GetField<Option<Alignment>> for MD

source§

impl GetField<Option<Alignment>> for MDE

source§

impl GetField<Option<Alignment>> for MDET

source§

impl GetField<Option<Alignment>> for MDT

source§

impl GetField<Option<Alignment>> for T

source§

impl GetField<Option<Alignment>> for Y

source§

impl GetField<Option<Alignment>> for YM

source§

impl GetField<Option<Alignment>> for YMD

source§

impl GetField<Option<Alignment>> for YMDE

source§

impl GetField<Option<Alignment>> for YMDET

source§

impl GetField<Option<Alignment>> for YMDT

source§

impl GetField<Option<Alignment>> for NeoCalendarPeriodSkeleton

source§

impl GetField<Option<Alignment>> for NeoDateSkeleton

source§

impl GetField<Option<Alignment>> for NeoDateTimeSkeleton

source§

impl GetField<Option<Alignment>> for NeoSkeleton

source§

impl GetField<Option<Alignment>> for NeoTimeSkeleton

source§

impl GetField<Option<TimePrecision>> for DET

source§

impl GetField<Option<TimePrecision>> for DT

source§

impl GetField<Option<TimePrecision>> for ET

source§

impl GetField<Option<TimePrecision>> for MDET

source§

impl GetField<Option<TimePrecision>> for MDT

source§

impl GetField<Option<TimePrecision>> for T

source§

impl GetField<Option<TimePrecision>> for YMDET

source§

impl GetField<Option<TimePrecision>> for YMDT

source§

impl GetField<Option<TimePrecision>> for NeoDateTimeSkeleton

source§

impl GetField<Option<TimePrecision>> for NeoSkeleton

source§

impl GetField<Option<TimePrecision>> for NeoTimeSkeleton

source§

impl GetField<Option<YearStyle>> for Y

source§

impl GetField<Option<YearStyle>> for YM

source§

impl GetField<Option<YearStyle>> for YMD

source§

impl GetField<Option<YearStyle>> for YMDE

source§

impl GetField<Option<YearStyle>> for YMDET

source§

impl GetField<Option<YearStyle>> for YMDT

source§

impl GetField<Option<YearStyle>> for NeoCalendarPeriodSkeleton

source§

impl GetField<Option<YearStyle>> for NeoDateSkeleton

source§

impl GetField<Option<YearStyle>> for NeoDateTimeSkeleton

source§

impl GetField<Option<YearStyle>> for NeoSkeleton

source§

impl GetField<Option<UtcOffset>> for UtcOffset

source§

impl GetField<()> for Time

source§

impl GetField<()> for UtcOffset

source§

impl GetField<()> for D

source§

impl GetField<()> for DE

source§

impl GetField<()> for DET

source§

impl GetField<()> for DT

source§

impl GetField<()> for E

source§

impl GetField<()> for ET

source§

impl GetField<()> for L

source§

impl GetField<()> for M

source§

impl GetField<()> for MD

source§

impl GetField<()> for MDE

source§

impl GetField<()> for MDET

source§

impl GetField<()> for MDT

source§

impl GetField<()> for O

source§

impl GetField<()> for T

source§

impl GetField<()> for V

source§

impl GetField<()> for Vs

source§

impl GetField<()> for Y

source§

impl GetField<()> for YM

source§

impl GetField<()> for YMD

source§

impl GetField<()> for YMDE

source§

impl GetField<()> for YMDET

source§

impl GetField<()> for YMDT

source§

impl GetField<()> for Z

source§

impl GetField<()> for Zs

source§

impl GetField<()> for NeoCalendarPeriodSkeleton

source§

impl GetField<()> for NeoDateSkeleton

source§

impl GetField<()> for NeoDateTimeSkeleton

source§

impl GetField<()> for NeoSkeleton

source§

impl GetField<()> for NeoTimeSkeleton

source§

impl GetField<()> for NeoTimeZoneSkeleton

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,