pub struct CooldownBackoff {
pub factor: u64,
pub max_secs: u64,
}Fields§
§factor: u64§max_secs: u64Trait Implementations§
Source§impl Clone for CooldownBackoff
impl Clone for CooldownBackoff
Source§fn clone(&self) -> CooldownBackoff
fn clone(&self) -> CooldownBackoff
Returns a duplicate of the value. Read more
1.0.0 · 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 CooldownBackoff
impl Debug for CooldownBackoff
impl Copy for CooldownBackoff
Auto Trait Implementations§
impl Freeze for CooldownBackoff
impl RefUnwindSafe for CooldownBackoff
impl Send for CooldownBackoff
impl Sync for CooldownBackoff
impl Unpin for CooldownBackoff
impl UnwindSafe for CooldownBackoff
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