Enum lrwn::ResetLimitCounter
source · pub enum ResetLimitCounter {
TokenCounterToZero,
TokenCounterToReloadRate,
TokenCounterToMaxValue,
NoChange,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ResetLimitCounter
impl Clone for ResetLimitCounter
source§fn clone(&self) -> ResetLimitCounter
fn clone(&self) -> ResetLimitCounter
Returns a copy 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 ResetLimitCounter
impl Debug for ResetLimitCounter
source§impl PartialEq for ResetLimitCounter
impl PartialEq for ResetLimitCounter
source§fn eq(&self, other: &ResetLimitCounter) -> bool
fn eq(&self, other: &ResetLimitCounter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ResetLimitCounter
impl Serialize for ResetLimitCounter
impl Copy for ResetLimitCounter
impl Eq for ResetLimitCounter
impl StructuralPartialEq for ResetLimitCounter
Auto Trait Implementations§
impl Freeze for ResetLimitCounter
impl RefUnwindSafe for ResetLimitCounter
impl Send for ResetLimitCounter
impl Sync for ResetLimitCounter
impl Unpin for ResetLimitCounter
impl UnwindSafe for ResetLimitCounter
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
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more