[][src]Struct dsmr5::types::TST

pub struct TST {
    pub year: u8,
    pub month: u8,
    pub day: u8,
    pub hour: u8,
    pub minute: u8,
    pub second: u8,
    pub dst: bool,
}

Timestamps.

Fields

year: u8month: u8day: u8hour: u8minute: u8second: u8dst: bool

Daylight savings time.

Methods

impl TST[src]

pub fn parse(body: &str) -> Result<TST>[src]

Trait Implementations

impl Debug for TST[src]

impl PartialEq<TST> for TST[src]

Auto Trait Implementations

impl Send for TST

impl Sync for TST

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]