pub enum AiSafetyCapability {
Moderation,
Refusal,
PolicyFilter,
Citation,
Grounding,
PiiRedaction,
Unknown,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AiSafetyCapability
impl Clone for AiSafetyCapability
Source§fn clone(&self) -> AiSafetyCapability
fn clone(&self) -> AiSafetyCapability
Returns a duplicate 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 AiSafetyCapability
impl Debug for AiSafetyCapability
Source§impl Display for AiSafetyCapability
impl Display for AiSafetyCapability
Source§impl FromStr for AiSafetyCapability
impl FromStr for AiSafetyCapability
Source§impl Hash for AiSafetyCapability
impl Hash for AiSafetyCapability
Source§impl Ord for AiSafetyCapability
impl Ord for AiSafetyCapability
Source§fn cmp(&self, other: &AiSafetyCapability) -> Ordering
fn cmp(&self, other: &AiSafetyCapability) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AiSafetyCapability
impl PartialEq for AiSafetyCapability
Source§impl PartialOrd for AiSafetyCapability
impl PartialOrd for AiSafetyCapability
impl Copy for AiSafetyCapability
impl Eq for AiSafetyCapability
impl StructuralPartialEq for AiSafetyCapability
Auto Trait Implementations§
impl Freeze for AiSafetyCapability
impl RefUnwindSafe for AiSafetyCapability
impl Send for AiSafetyCapability
impl Sync for AiSafetyCapability
impl Unpin for AiSafetyCapability
impl UnsafeUnpin for AiSafetyCapability
impl UnwindSafe for AiSafetyCapability
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