[][src]Struct mcp794xx::AlarmDateTime

pub struct AlarmDateTime {
    pub month: u8,
    pub day: u8,
    pub weekday: u8,
    pub hour: Hours,
    pub minute: u8,
    pub second: u8,
}

Alarm date/time

Fields

month: u8

Month [1-12]

day: u8

Day [1-31]

weekday: u8

Weekday [1-7]

hour: Hours

Hour in 24h/12h format (format matches RTC)

minute: u8

Minute [0-59]

second: u8

Second [0-59]

Trait Implementations

impl PartialEq<AlarmDateTime> for AlarmDateTime[src]

impl Debug for AlarmDateTime[src]

impl Copy for AlarmDateTime[src]

impl Clone for AlarmDateTime[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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