#[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: u164-digit representation (Gregorian calendar).
month: u81…12
day: u81…31
hour: u80…23
minute: u80…59
seconds: u80…59
ms: u160…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 duplicate 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 Freeze for nrf_modem_gnss_datetime
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