Struct Rule
pub struct Rule { pub start: DayTime, pub end: DayTime }
A time zone transition rule.
This spells out a "range" of datetimes within a calendar year that should get a special daylight saving time offset from UTC.
Fields
start: DayTimeThe start of the time zone transition (e.g., daylight saving time).
end: DayTimeThe end of the time zone transition (e.g., daylight saving time).
Trait Implementations
impl Clone for Rule
fn clone(&self) -> Self
impl Copy for Rule
impl Debug for Rule
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Rule
impl PartialEq for Rule
fn eq(&self, other: &Self) -> bool