pub enum FallbackCondition {
Always,
RateLimitOnly,
ErrorStatus(Vec<u16>),
}Expand description
回退触发条件
Variants§
Trait Implementations§
Source§impl Clone for FallbackCondition
impl Clone for FallbackCondition
Source§fn clone(&self) -> FallbackCondition
fn clone(&self) -> FallbackCondition
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 FallbackCondition
impl Debug for FallbackCondition
Source§impl Default for FallbackCondition
impl Default for FallbackCondition
Source§fn default() -> FallbackCondition
fn default() -> FallbackCondition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FallbackCondition
impl<'de> Deserialize<'de> for FallbackCondition
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
Auto Trait Implementations§
impl Freeze for FallbackCondition
impl RefUnwindSafe for FallbackCondition
impl Send for FallbackCondition
impl Sync for FallbackCondition
impl Unpin for FallbackCondition
impl UnsafeUnpin for FallbackCondition
impl UnwindSafe for FallbackCondition
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