Struct TimeZoneId
pub struct TimeZoneId { /* private fields */ }Expand description
A syntactically valid IANA-shaped time zone identifier.
Implementations§
§impl TimeZoneId
impl TimeZoneId
pub fn new(input: &str) -> Option<TimeZoneId>
pub fn new(input: &str) -> Option<TimeZoneId>
Parses a time zone identifier.
pub fn into_string(self) -> String
pub fn into_string(self) -> String
Consumes the time zone identifier and returns the string.
Trait Implementations§
§impl AsRef<str> for TimeZoneId
impl AsRef<str> for TimeZoneId
§impl Clone for TimeZoneId
impl Clone for TimeZoneId
§fn clone(&self) -> TimeZoneId
fn clone(&self) -> TimeZoneId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for TimeZoneId
impl Debug for TimeZoneId
§impl Display for TimeZoneId
impl Display for TimeZoneId
§impl Hash for TimeZoneId
impl Hash for TimeZoneId
§impl Ord for TimeZoneId
impl Ord for TimeZoneId
§impl PartialEq for TimeZoneId
impl PartialEq for TimeZoneId
§impl PartialOrd for TimeZoneId
impl PartialOrd for TimeZoneId
impl Eq for TimeZoneId
impl StructuralPartialEq for TimeZoneId
Auto Trait Implementations§
impl Freeze for TimeZoneId
impl RefUnwindSafe for TimeZoneId
impl Send for TimeZoneId
impl Sync for TimeZoneId
impl Unpin for TimeZoneId
impl UnsafeUnpin for TimeZoneId
impl UnwindSafe for TimeZoneId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more