Trait icu_datetime::neo_marker::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§

fn get_field(&self) -> Option<UtcOffset>

source§

impl GetField<()> for Time

source§

impl GetField<()> for UtcOffset

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<Option<UtcOffset>> for CustomZonedDateTime<A, UtcOffset>

source§

fn get_field(&self) -> Option<UtcOffset>

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>, O> GetField<(Date<Iso>, Time)> for CustomZonedDateTime<A, TimeZoneInfo<O>>
where O: TimeZoneModel<LocalTime = (Date<Iso>, Time)>,

source§

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

source§

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

source§

fn get_field(&self) -> Option<UtcOffset>

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>, O> GetField<TimeZoneBcp47Id> for CustomZonedDateTime<A, TimeZoneInfo<O>>
where O: TimeZoneModel,

source§

fn get_field(&self) -> TimeZoneBcp47Id

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>, O> GetField<ZoneVariant> for CustomZonedDateTime<A, TimeZoneInfo<O>>
where O: TimeZoneModel<ZoneVariant = ZoneVariant>,

source§

fn get_field(&self) -> ZoneVariant

source§

impl<C: Calendar, A: AsCalendar<Calendar = C>, Z> GetField<()> 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<C: IntoAnyCalendar, A: AsCalendar<Calendar = C>> GetField<AnyCalendarKind> for Date<A>

source§

fn get_field(&self) -> AnyCalendarKind

source§

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

source§

fn get_field(&self) -> AnyCalendarKind

source§

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

source§

fn get_field(&self) -> AnyCalendarKind

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<Option<UtcOffset>> for TimeZoneInfo<O>
where O: TimeZoneModel,

source§

fn get_field(&self) -> Option<UtcOffset>

source§

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

source§

fn get_field(&self) -> TimeZoneBcp47Id

source§

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

source§

fn get_field(&self) -> ZoneVariant

source§

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

Implementors§

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<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<NeoSkeletonLength> for NeoAutoDateMarker

source§

impl GetField<NeoSkeletonLength> for NeoAutoTimeMarker

source§

impl GetField<NeoSkeletonLength> for NeoHourMinuteMarker

source§

impl GetField<NeoSkeletonLength> for NeoHourMinuteSecondMarker

source§

impl GetField<NeoSkeletonLength> for NeoMonthDayMarker

source§

impl GetField<NeoSkeletonLength> for NeoTimeZoneGenericMarker

source§

impl GetField<NeoSkeletonLength> for NeoTimeZoneGenericShortMarker

source§

impl GetField<NeoSkeletonLength> for NeoTimeZoneLocationMarker

source§

impl GetField<NeoSkeletonLength> for NeoTimeZoneOffsetMarker

source§

impl GetField<NeoSkeletonLength> for NeoTimeZoneSpecificMarker

source§

impl GetField<NeoSkeletonLength> for NeoTimeZoneSpecificShortMarker

source§

impl GetField<NeoSkeletonLength> for NeoYearMonthDayMarker

source§

impl GetField<NeoSkeletonLength> for NeoYearMonthMarker

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<Alignment>> for NeoAutoDateMarker

source§

impl GetField<Option<Alignment>> for NeoAutoTimeMarker

source§

impl GetField<Option<Alignment>> for NeoHourMinuteMarker

source§

impl GetField<Option<Alignment>> for NeoHourMinuteSecondMarker

source§

impl GetField<Option<Alignment>> for NeoMonthDayMarker

source§

impl GetField<Option<Alignment>> for NeoYearMonthDayMarker

source§

impl GetField<Option<Alignment>> for NeoYearMonthMarker

source§

impl GetField<Option<FractionalSecondDigits>> for NeoDateTimeSkeleton

source§

impl GetField<Option<FractionalSecondDigits>> for NeoSkeleton

source§

impl GetField<Option<FractionalSecondDigits>> for NeoTimeSkeleton

source§

impl GetField<Option<FractionalSecondDigits>> for NeoAutoTimeMarker

source§

impl GetField<Option<FractionalSecondDigits>> for NeoHourMinuteSecondMarker

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<YearStyle>> for NeoAutoDateMarker

source§

impl GetField<Option<YearStyle>> for NeoYearMonthDayMarker

source§

impl GetField<Option<YearStyle>> for NeoYearMonthMarker

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<()> for NeoAutoDateMarker

source§

impl GetField<()> for NeoAutoTimeMarker

source§

impl GetField<()> for NeoHourMinuteMarker

source§

impl GetField<()> for NeoHourMinuteSecondMarker

source§

impl GetField<()> for NeoMonthDayMarker

source§

impl GetField<()> for NeoTimeZoneGenericMarker

source§

impl GetField<()> for NeoTimeZoneGenericShortMarker

source§

impl GetField<()> for NeoTimeZoneLocationMarker

source§

impl GetField<()> for NeoTimeZoneOffsetMarker

source§

impl GetField<()> for NeoTimeZoneSpecificMarker

source§

impl GetField<()> for NeoTimeZoneSpecificShortMarker

source§

impl GetField<()> for NeoYearMonthDayMarker

source§

impl GetField<()> for NeoYearMonthMarker

source§

impl<D, T, Z> GetField<NeoSkeletonLength> for DateTimeCombo<D, T, Z>

source§

impl<D, T, Z> GetField<Option<Alignment>> for DateTimeCombo<D, T, Z>

source§

impl<D, T, Z> GetField<Option<FractionalSecondDigits>> for DateTimeCombo<D, T, Z>

source§

impl<D, T, Z> GetField<Option<YearStyle>> for DateTimeCombo<D, T, Z>

source§

impl<D, T, Z> GetField<()> for DateTimeCombo<D, T, Z>

source§

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