Struct collectd_plugin::CdTime
[−]
[src]
pub struct CdTime(pub u64);
CdTime
allows for ergonomic interop between collectd's cdtime_t
and chrono's Duration
and
DateTime
. The single field represents epoch nanoseconds.
Trait Implementations
impl Debug for CdTime
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for CdTime
[src]
fn eq(&self, __arg_0: &CdTime) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CdTime) -> bool
[src]
This method tests for !=
.
impl Eq for CdTime
[src]
impl Clone for CdTime
[src]
fn clone(&self) -> CdTime
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more