#[repr(C)]pub struct lyd_value_time {
pub seconds: u32,
pub fractions_s: *mut c_char,
pub unknown_tz: ly_bool,
}Expand description
@brief Special lyd_value structure for ietf-yang-types time values.
Fields§
§seconds: u32< Timestamp converted into seconds
fractions_s: *mut c_char< Optional fractions of a second
unknown_tz: ly_bool< Whether the value is in the special Z/-00:00 timezone.
Trait Implementations§
Source§impl Clone for lyd_value_time
impl Clone for lyd_value_time
Source§fn clone(&self) -> lyd_value_time
fn clone(&self) -> lyd_value_time
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for lyd_value_time
Source§impl Debug for lyd_value_time
impl Debug for lyd_value_time
Auto Trait Implementations§
impl !Send for lyd_value_time
impl !Sync for lyd_value_time
impl Freeze for lyd_value_time
impl RefUnwindSafe for lyd_value_time
impl Unpin for lyd_value_time
impl UnsafeUnpin for lyd_value_time
impl UnwindSafe for lyd_value_time
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