Enum parse_zoneinfo::structure::Child
source · pub enum Child<'table> {
Submodule(&'table str),
TimeZone(&'table str),
}
Expand description
A child module that needs to be created.
The order here is important for PartialOrd
: submodules need to be
created before actual time zones, as directories need to be created
before the files in them can be written.
Variants§
Submodule(&'table str)
A module containing only submodules, no time zones.
TimeZone(&'table str)
A module containing only the details of a time zone.
Trait Implementations§
source§impl<'table> Ord for Child<'table>
impl<'table> Ord for Child<'table>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'table> PartialEq for Child<'table>
impl<'table> PartialEq for Child<'table>
source§impl<'table> PartialOrd for Child<'table>
impl<'table> PartialOrd for Child<'table>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'table> Copy for Child<'table>
impl<'table> Eq for Child<'table>
impl<'table> StructuralPartialEq for Child<'table>
Auto Trait Implementations§
impl<'table> Freeze for Child<'table>
impl<'table> RefUnwindSafe for Child<'table>
impl<'table> Send for Child<'table>
impl<'table> Sync for Child<'table>
impl<'table> Unpin for Child<'table>
impl<'table> UnwindSafe for Child<'table>
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