pub struct NonceRecord {
pub max_nonce: u64,
pub expires_at: i64,
}Fields§
§max_nonce: u64§expires_at: i64Trait Implementations§
Source§impl Clone for NonceRecord
impl Clone for NonceRecord
Source§fn clone(&self) -> NonceRecord
fn clone(&self) -> NonceRecord
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 NonceRecord
Source§impl Debug for NonceRecord
impl Debug for NonceRecord
impl Eq for NonceRecord
Source§impl PartialEq for NonceRecord
impl PartialEq for NonceRecord
Source§fn eq(&self, other: &NonceRecord) -> bool
fn eq(&self, other: &NonceRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NonceRecord
Auto Trait Implementations§
impl Freeze for NonceRecord
impl RefUnwindSafe for NonceRecord
impl Send for NonceRecord
impl Sync for NonceRecord
impl Unpin for NonceRecord
impl UnsafeUnpin for NonceRecord
impl UnwindSafe for NonceRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.