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