pub struct WireguardTimeSpec {
pub seconds: i64,
pub nano_seconds: i64,
}Fields§
§seconds: i64§nano_seconds: i64Trait Implementations§
Source§impl Clone for WireguardTimeSpec
impl Clone for WireguardTimeSpec
Source§fn clone(&self) -> WireguardTimeSpec
fn clone(&self) -> WireguardTimeSpec
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 WireguardTimeSpec
impl Debug for WireguardTimeSpec
Source§impl Default for WireguardTimeSpec
impl Default for WireguardTimeSpec
Source§fn default() -> WireguardTimeSpec
fn default() -> WireguardTimeSpec
Returns the “default value” for a type. Read more
Source§impl Emitable for WireguardTimeSpec
impl Emitable for WireguardTimeSpec
Source§impl PartialEq for WireguardTimeSpec
impl PartialEq for WireguardTimeSpec
impl Copy for WireguardTimeSpec
impl Eq for WireguardTimeSpec
impl StructuralPartialEq for WireguardTimeSpec
Auto Trait Implementations§
impl Freeze for WireguardTimeSpec
impl RefUnwindSafe for WireguardTimeSpec
impl Send for WireguardTimeSpec
impl Sync for WireguardTimeSpec
impl Unpin for WireguardTimeSpec
impl UnwindSafe for WireguardTimeSpec
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