pub enum ConsumeAccountRateLimitResetCreditOutcome {
Reset,
NothingToReset,
NoCredit,
AlreadyRedeemed,
}Variants§
Trait Implementations§
Source§impl Clone for ConsumeAccountRateLimitResetCreditOutcome
impl Clone for ConsumeAccountRateLimitResetCreditOutcome
Source§fn clone(&self) -> ConsumeAccountRateLimitResetCreditOutcome
fn clone(&self) -> ConsumeAccountRateLimitResetCreditOutcome
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<'de> Deserialize<'de> for ConsumeAccountRateLimitResetCreditOutcome
impl<'de> Deserialize<'de> for ConsumeAccountRateLimitResetCreditOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConsumeAccountRateLimitResetCreditOutcome
Source§impl PartialEq for ConsumeAccountRateLimitResetCreditOutcome
impl PartialEq for ConsumeAccountRateLimitResetCreditOutcome
Source§fn eq(&self, other: &ConsumeAccountRateLimitResetCreditOutcome) -> bool
fn eq(&self, other: &ConsumeAccountRateLimitResetCreditOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConsumeAccountRateLimitResetCreditOutcome
Auto Trait Implementations§
impl Freeze for ConsumeAccountRateLimitResetCreditOutcome
impl RefUnwindSafe for ConsumeAccountRateLimitResetCreditOutcome
impl Send for ConsumeAccountRateLimitResetCreditOutcome
impl Sync for ConsumeAccountRateLimitResetCreditOutcome
impl Unpin for ConsumeAccountRateLimitResetCreditOutcome
impl UnsafeUnpin for ConsumeAccountRateLimitResetCreditOutcome
impl UnwindSafe for ConsumeAccountRateLimitResetCreditOutcome
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