#[non_exhaustive]pub enum HarmBlockThreshold {
Known(HarmBlockThresholdKnown),
Unknown(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Known(HarmBlockThresholdKnown)
Unknown(String)
Trait Implementations§
Source§impl Clone for HarmBlockThreshold
impl Clone for HarmBlockThreshold
Source§fn clone(&self) -> HarmBlockThreshold
fn clone(&self) -> HarmBlockThreshold
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 HarmBlockThreshold
impl Debug for HarmBlockThreshold
Source§impl Default for HarmBlockThreshold
impl Default for HarmBlockThreshold
Source§impl<'de> Deserialize<'de> for HarmBlockThreshold
impl<'de> Deserialize<'de> for HarmBlockThreshold
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HarmBlockThreshold
Source§impl PartialEq for HarmBlockThreshold
impl PartialEq for HarmBlockThreshold
Source§impl Serialize for HarmBlockThreshold
impl Serialize for HarmBlockThreshold
impl StructuralPartialEq for HarmBlockThreshold
Auto Trait Implementations§
impl Freeze for HarmBlockThreshold
impl RefUnwindSafe for HarmBlockThreshold
impl Send for HarmBlockThreshold
impl Sync for HarmBlockThreshold
impl Unpin for HarmBlockThreshold
impl UnsafeUnpin for HarmBlockThreshold
impl UnwindSafe for HarmBlockThreshold
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