pub struct TimedToken {
pub display_duration: Duration,
pub pause_after: Duration,
}Fields§
§display_duration: Duration§pause_after: DurationTrait Implementations§
Source§impl Clone for TimedToken
impl Clone for TimedToken
Source§fn clone(&self) -> TimedToken
fn clone(&self) -> TimedToken
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 TimedToken
Source§impl Debug for TimedToken
impl Debug for TimedToken
Source§impl PartialEq for TimedToken
impl PartialEq for TimedToken
impl StructuralPartialEq for TimedToken
Auto Trait Implementations§
impl Freeze for TimedToken
impl RefUnwindSafe for TimedToken
impl Send for TimedToken
impl Sync for TimedToken
impl Unpin for TimedToken
impl UnsafeUnpin for TimedToken
impl UnwindSafe for TimedToken
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