Struct rust_chain::structs::TimePointSec
source · [−]pub struct TimePointSec {
pub utc_seconds: u32,
}
Expand description
Fields
utc_seconds: u32
Implementations
sourceimpl TimePointSec
impl TimePointSec
pub fn utc_seconds(&self) -> u32
Trait Implementations
sourceimpl Clone for TimePointSec
impl Clone for TimePointSec
sourcefn clone(&self) -> TimePointSec
fn clone(&self) -> TimePointSec
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for TimePointSec
impl Default for TimePointSec
sourcefn default() -> TimePointSec
fn default() -> TimePointSec
Returns the “default value” for a type. Read more
sourceimpl Packer for TimePointSec
impl Packer for TimePointSec
sourceimpl PartialEq<TimePointSec> for TimePointSec
impl PartialEq<TimePointSec> for TimePointSec
sourcefn eq(&self, other: &TimePointSec) -> bool
fn eq(&self, other: &TimePointSec) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TimePointSec) -> bool
fn ne(&self, other: &TimePointSec) -> bool
This method tests for !=
.
sourceimpl TypeInfo for TimePointSec
impl TypeInfo for TimePointSec
impl Copy for TimePointSec
impl Eq for TimePointSec
impl StructuralEq for TimePointSec
impl StructuralPartialEq for TimePointSec
Auto Trait Implementations
impl RefUnwindSafe for TimePointSec
impl Send for TimePointSec
impl Sync for TimePointSec
impl Unpin for TimePointSec
impl UnwindSafe for TimePointSec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.