Struct flipperzero_sys::FuriHalRtcDateTime
source · [−]#[repr(C)]pub struct FuriHalRtcDateTime {
pub hour: u8,
pub minute: u8,
pub second: u8,
pub day: u8,
pub month: u8,
pub year: u16,
pub weekday: u8,
}Fields
hour: u8< Hour in 24H format: 0-23
minute: u8< Minute: 0-59
second: u8< Second: 0-59
day: u8< Current day: 1-31
month: u8< Current month: 1-12
year: u16< Current year: 2000-2099
weekday: u8< Current weekday: 1-7
Trait Implementations
sourceimpl Clone for FuriHalRtcDateTime
impl Clone for FuriHalRtcDateTime
sourcefn clone(&self) -> FuriHalRtcDateTime
fn clone(&self) -> FuriHalRtcDateTime
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for FuriHalRtcDateTime
impl Debug for FuriHalRtcDateTime
impl Copy for FuriHalRtcDateTime
Auto Trait Implementations
impl RefUnwindSafe for FuriHalRtcDateTime
impl Send for FuriHalRtcDateTime
impl Sync for FuriHalRtcDateTime
impl Unpin for FuriHalRtcDateTime
impl UnwindSafe for FuriHalRtcDateTime
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more