pub struct Cooldown {
pub model: Option<String>,
pub until: SystemTime,
pub error: ProviderError,
}Expand description
An account (or one model of it) that will not answer until until.
Fields§
§model: Option<String>The model the cooldown covers, or None for the whole account.
until: SystemTime§error: ProviderErrorThe error that started it, returned for every call it blocks.
Trait Implementations§
impl StructuralPartialEq for Cooldown
Auto Trait Implementations§
impl Forget for Cooldown
impl Freeze for Cooldown
impl Move for Cooldown
impl RefUnwindSafe for Cooldown
impl Send for Cooldown
impl Sync for Cooldown
impl Unpin for Cooldown
impl UnsafeUnpin for Cooldown
impl UnwindSafe for Cooldown
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