pub struct TimestampParts {
pub date: String,
pub timestamp: String,
pub year: i32,
pub month: u32,
pub day: u32,
pub hour: u32,
pub minute: u32,
pub second: u32,
pub hhmm: u32,
pub hhmm_string: String,
pub weekday_from_sunday: u32,
}Fields§
§date: String§timestamp: String§year: i32§month: u32§day: u32§hour: u32§minute: u32§second: u32§hhmm: u32§hhmm_string: String§weekday_from_sunday: u32Trait Implementations§
Source§impl Clone for TimestampParts
impl Clone for TimestampParts
Source§fn clone(&self) -> TimestampParts
fn clone(&self) -> TimestampParts
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 moreSource§impl Debug for TimestampParts
impl Debug for TimestampParts
Source§impl<'de> Deserialize<'de> for TimestampParts
impl<'de> Deserialize<'de> for TimestampParts
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TimestampParts
impl PartialEq for TimestampParts
Source§impl Serialize for TimestampParts
impl Serialize for TimestampParts
impl Eq for TimestampParts
impl StructuralPartialEq for TimestampParts
Auto Trait Implementations§
impl Freeze for TimestampParts
impl RefUnwindSafe for TimestampParts
impl Send for TimestampParts
impl Sync for TimestampParts
impl Unpin for TimestampParts
impl UnsafeUnpin for TimestampParts
impl UnwindSafe for TimestampParts
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