Struct esp_idf_hal::sys::mbedtls_x509_time
source · #[repr(C)]pub struct mbedtls_x509_time {
pub year: i32,
pub mon: i32,
pub day: i32,
pub hour: i32,
pub min: i32,
pub sec: i32,
}
Expand description
Container for date and time (precision in seconds).
Fields§
§year: i32
< Date.
mon: i32
< Date.
day: i32
< Date.
hour: i32
< Time.
min: i32
< Time.
sec: i32
< 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
)