Struct rust_chain::structs::TimePointSec
source · [−]pub struct TimePointSec {
pub utc_seconds: u32,
}Expand description
Fields
utc_seconds: u32Implementations
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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl 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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
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.