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.

Implementations on Foreign Types§

source§

impl GetField<Option<UtcOffset>> for UtcOffset

source§

impl GetField<()> for UtcOffset

source§

impl GetField<()> for Time

source§

impl GetField<IsoHour> for Time

source§

fn get_field(&self) -> IsoHour

source§

impl GetField<IsoMinute> for Time

source§

fn get_field(&self) -> IsoMinute

source§

impl GetField<IsoSecond> for Time

source§

fn get_field(&self) -> IsoSecond

source§

impl GetField<NanoSecond> for Time

source§

fn get_field(&self) -> NanoSecond

source§

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

source§

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

source§

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

source§

fn get_field(&self) -> DayOfMonth

source§

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

source§

fn get_field(&self) -> DayOfMonth

source§

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

source§

fn get_field(&self) -> DayOfYearInfo

source§

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

source§

fn get_field(&self) -> DayOfYearInfo

source§

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

source§

fn get_field(&self) -> IsoHour

source§

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

source§

fn get_field(&self) -> IsoMinute

source§

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

source§

fn get_field(&self) -> IsoSecond

source§

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

source§

fn get_field(&self) -> IsoWeekday

source§

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

source§

fn get_field(&self) -> IsoWeekday

source§

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

source§

fn get_field(&self) -> MonthInfo

source§

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

source§

fn get_field(&self) -> MonthInfo

source§

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

source§

fn get_field(&self) -> NanoSecond

source§

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

source§

fn get_field(&self) -> YearInfo

source§

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

source§

fn get_field(&self) -> YearInfo

source§

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

source§

fn get_field(&self) -> (Date<Iso>, Time)

source§

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

source§

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

source§

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

source§

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

source§

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

source§

fn get_field(&self) -> DayOfMonth

source§

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

source§

fn get_field(&self) -> DayOfYearInfo

source§

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

source§

fn get_field(&self) -> IsoHour

source§

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

source§

fn get_field(&self) -> IsoMinute

source§

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

source§

fn get_field(&self) -> IsoSecond

source§

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

source§

fn get_field(&self) -> IsoWeekday

source§

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

source§

fn get_field(&self) -> MonthInfo

source§

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

source§

fn get_field(&self) -> NanoSecond

source§

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

source§

fn get_field(&self) -> YearInfo

source§

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

source§

fn get_field(&self) -> (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<TimeZoneBcp47Id> for TimeZoneInfo<O>
where O: TimeZoneModel,

source§

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

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<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<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<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<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<()> 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<T> GetField<T> for T
where T: Copy,