#[non_exhaustive]pub enum GuardrailPiiEntityType {
Known(GuardrailPiiEntityTypeKnown),
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(GuardrailPiiEntityTypeKnown)
Unknown(String)
Trait Implementations§
Source§impl Clone for GuardrailPiiEntityType
impl Clone for GuardrailPiiEntityType
Source§fn clone(&self) -> GuardrailPiiEntityType
fn clone(&self) -> GuardrailPiiEntityType
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 GuardrailPiiEntityType
impl Debug for GuardrailPiiEntityType
Source§impl<'de> Deserialize<'de> for GuardrailPiiEntityType
impl<'de> Deserialize<'de> for GuardrailPiiEntityType
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 GuardrailPiiEntityType
Source§impl PartialEq for GuardrailPiiEntityType
impl PartialEq for GuardrailPiiEntityType
Source§impl Serialize for GuardrailPiiEntityType
impl Serialize for GuardrailPiiEntityType
impl StructuralPartialEq for GuardrailPiiEntityType
Auto Trait Implementations§
impl Freeze for GuardrailPiiEntityType
impl RefUnwindSafe for GuardrailPiiEntityType
impl Send for GuardrailPiiEntityType
impl Sync for GuardrailPiiEntityType
impl Unpin for GuardrailPiiEntityType
impl UnsafeUnpin for GuardrailPiiEntityType
impl UnwindSafe for GuardrailPiiEntityType
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