Struct nrfxlib_sys::nrf_modem_gnss_datetime
source · #[repr(C)]pub struct nrf_modem_gnss_datetime {
pub year: u16,
pub month: u8,
pub day: u8,
pub hour: u8,
pub minute: u8,
pub seconds: u8,
pub ms: u16,
}
Expand description
Date and time.
Fields§
§year: u16
4-digit representation (Gregorian calendar).
month: u8
1…12
day: u8
1…31
hour: u8
0…23
minute: u8
0…59
seconds: u8
0…59
ms: u16
0…999
Trait Implementations§
source§impl Clone for nrf_modem_gnss_datetime
impl Clone for nrf_modem_gnss_datetime
source§fn clone(&self) -> nrf_modem_gnss_datetime
fn clone(&self) -> nrf_modem_gnss_datetime
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for nrf_modem_gnss_datetime
impl Debug for nrf_modem_gnss_datetime
impl Copy for nrf_modem_gnss_datetime
Auto Trait Implementations§
impl RefUnwindSafe for nrf_modem_gnss_datetime
impl Send for nrf_modem_gnss_datetime
impl Sync for nrf_modem_gnss_datetime
impl Unpin for nrf_modem_gnss_datetime
impl UnwindSafe for nrf_modem_gnss_datetime
Blanket Implementations§
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