pub struct LocalParts {
pub year: i32,
pub month_1: u8,
pub day: u8,
pub hour: u8,
pub minute: u8,
pub second: u8,
pub nano: u32,
pub dow_monday0: u8,
}Expand description
Calendar / wall-clock components in a specific timezone.
Fields§
§year: i32§month_1: u8§day: u8§hour: u8§minute: u8§second: u8§nano: u32§dow_monday0: u8Trait Implementations§
Source§impl Clone for LocalParts
impl Clone for LocalParts
Source§fn clone(&self) -> LocalParts
fn clone(&self) -> LocalParts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalParts
impl Debug for LocalParts
Source§impl PartialEq for LocalParts
impl PartialEq for LocalParts
Source§fn eq(&self, other: &LocalParts) -> bool
fn eq(&self, other: &LocalParts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LocalParts
impl StructuralPartialEq for LocalParts
Auto Trait Implementations§
impl Freeze for LocalParts
impl RefUnwindSafe for LocalParts
impl Send for LocalParts
impl Sync for LocalParts
impl Unpin for LocalParts
impl UnsafeUnpin for LocalParts
impl UnwindSafe for LocalParts
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