#[repr(C, packed(1))]pub struct DecDateTime {
pub year: IsoStrD<4>,
pub month: IsoStrD<2>,
pub day: IsoStrD<2>,
pub hour: IsoStrD<2>,
pub minute: IsoStrD<2>,
pub second: IsoStrD<2>,
pub hundredths: IsoStrD<2>,
pub timezone: u8,
}Expand description
Represents DecDateTime.
Fields§
§year: IsoStrD<4>The year field.
month: IsoStrD<2>The month field.
day: IsoStrD<2>The day field.
hour: IsoStrD<2>The hour field.
minute: IsoStrD<2>The minute field.
second: IsoStrD<2>The second field.
hundredths: IsoStrD<2>The hundredths field.
timezone: u8The timezone field.
Implementations§
Source§impl DecDateTime
impl DecDateTime
Trait Implementations§
Source§impl Clone for DecDateTime
impl Clone for DecDateTime
Source§fn clone(&self) -> DecDateTime
fn clone(&self) -> DecDateTime
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 moreimpl Copy for DecDateTime
Source§impl Debug for DecDateTime
impl Debug for DecDateTime
Source§impl Default for DecDateTime
impl Default for DecDateTime
impl Pod for DecDateTime
Auto Trait Implementations§
impl Freeze for DecDateTime
impl RefUnwindSafe for DecDateTime
impl Send for DecDateTime
impl Sync for DecDateTime
impl Unpin for DecDateTime
impl UnsafeUnpin for DecDateTime
impl UnwindSafe for DecDateTime
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.