Struct esp_idf_sys::mbedtls_x509_time
source · #[repr(C)]pub struct mbedtls_x509_time {
pub year: c_int,
pub mon: c_int,
pub day: c_int,
pub hour: c_int,
pub min: c_int,
pub sec: c_int,
}
Expand description
Container for date and time (precision in seconds).
Fields§
§year: c_int
< Date.
mon: c_int
< Date.
day: c_int
< Date.
hour: c_int
< Time.
min: c_int
< Time.
sec: c_int
< Time.
Trait Implementations§
source§impl Clone for mbedtls_x509_time
impl Clone for mbedtls_x509_time
source§fn clone(&self) -> mbedtls_x509_time
fn clone(&self) -> mbedtls_x509_time
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for mbedtls_x509_time
impl Debug for mbedtls_x509_time
source§impl Default for mbedtls_x509_time
impl Default for mbedtls_x509_time
source§fn default() -> mbedtls_x509_time
fn default() -> mbedtls_x509_time
Returns the “default value” for a type. Read more
impl Copy for mbedtls_x509_time
Auto Trait Implementations§
impl Freeze for mbedtls_x509_time
impl RefUnwindSafe for mbedtls_x509_time
impl Send for mbedtls_x509_time
impl Sync for mbedtls_x509_time
impl Unpin for mbedtls_x509_time
impl UnwindSafe for mbedtls_x509_time
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)