[−][src]Struct rpi_pico_sdk::datetime_t
\struct datetime_t \ingroup util_datetime \brief Structure containing date and time information
When setting an RTC alarm, set a field to -1 tells the RTC to not match on this field
Fields
year: i16
< 0..4095
month: i8
< 1..12, 1 is January
day: i8
< 1..28,29,30,31 depending on month
dotw: i8
< 0..6, 0 is Sunday
hour: i8
< 0..23
min: i8
< 0..59
sec: i8
< 0..59
Trait Implementations
impl Clone for datetime_t
[src]
fn clone(&self) -> datetime_t
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for datetime_t
[src]
impl Debug for datetime_t
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,