Enum tomllib::types::TimeOffset
[−]
[src]
pub enum TimeOffset<'a> {
Zulu,
Time(TimeOffsetAmount<'a>),
}Represents either a timezone of Zulu or or hour plus minute timezone offset from UTC.
Variants
ZuluTime(TimeOffsetAmount<'a>)Methods
impl<'a> TimeOffset<'a>[src]
Trait Implementations
impl<'a> Clone for TimeOffset<'a>[src]
fn clone(&self) -> TimeOffset<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'a> Eq for TimeOffset<'a>[src]
impl<'a> Debug for TimeOffset<'a>[src]
impl<'a> PartialEq for TimeOffset<'a>[src]
fn eq(&self, other: &TimeOffset<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.