Struct TimeZoneName
pub struct TimeZoneName<'d> { /* private fields */ }
A name for a time zone yield by the TimeZoneNameIter iterator.
The iterator is created by TimeZoneDatabase::available.
The lifetime parameter corresponds to the lifetime of the
TimeZoneDatabase from which this name was created.
Implementations
impl<'d> TimeZoneName<'d>
fn as_str<'a>(&'a self) -> &'a strReturns this time zone name as a borrowed string.
Note that the lifetime of the string returned is tied to
self, which may be shorter than the lifetime'dof the originatingTimeZoneDatabase.
Trait Implementations
impl<'d> Clone for TimeZoneName<'d>
fn clone(&self) -> Self
impl<'d> Debug for TimeZoneName<'d>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'d> Display for TimeZoneName<'d>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'d> Eq for TimeZoneName<'d>
impl<'d> Hash for TimeZoneName<'d>
fn hash<__H: Hasher>(&self, state: &mut __H)
impl<'d> Ord for TimeZoneName<'d>
fn cmp(&self, other: &Self) -> Ordering
impl<'d> PartialEq for TimeZoneName<'d>
fn eq(&self, other: &Self) -> bool
impl<'d> PartialOrd for TimeZoneName<'d>
fn partial_cmp(&self, other: &Self) -> Option<Ordering>