pub struct DelaySeconds(/* private fields */);Expand description
A relative delay measured in whole seconds.
Implementations§
Trait Implementations§
Source§impl Clone for DelaySeconds
impl Clone for DelaySeconds
Source§fn clone(&self) -> DelaySeconds
fn clone(&self) -> DelaySeconds
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 DelaySeconds
Source§impl Debug for DelaySeconds
impl Debug for DelaySeconds
Source§impl Default for DelaySeconds
impl Default for DelaySeconds
Source§fn default() -> DelaySeconds
fn default() -> DelaySeconds
Returns the “default value” for a type. Read more
impl Eq for DelaySeconds
Source§impl Ord for DelaySeconds
impl Ord for DelaySeconds
Source§fn cmp(&self, other: &DelaySeconds) -> Ordering
fn cmp(&self, other: &DelaySeconds) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DelaySeconds
impl PartialEq for DelaySeconds
Source§impl PartialOrd for DelaySeconds
impl PartialOrd for DelaySeconds
impl StructuralPartialEq for DelaySeconds
Auto Trait Implementations§
impl Freeze for DelaySeconds
impl RefUnwindSafe for DelaySeconds
impl Send for DelaySeconds
impl Sync for DelaySeconds
impl Unpin for DelaySeconds
impl UnsafeUnpin for DelaySeconds
impl UnwindSafe for DelaySeconds
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