#[non_exhaustive]pub enum OpenAiPrivateLabel {
PrivatePerson,
PrivateAddress,
PrivateEmail,
PrivatePhone,
PrivateUrl,
PrivateDate,
AccountNumber,
Secret,
}Expand description
Closed set of upstream OpenAI Privacy Filter labels accepted by Gaze.
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.
PrivatePerson
private_person.
PrivateAddress
private_address.
PrivateEmail
private_email.
PrivatePhone
private_phone.
PrivateUrl
private_url.
PrivateDate
private_date.
AccountNumber
account_number.
Secret
secret.
Implementations§
Trait Implementations§
Source§impl Clone for OpenAiPrivateLabel
impl Clone for OpenAiPrivateLabel
Source§fn clone(&self) -> OpenAiPrivateLabel
fn clone(&self) -> OpenAiPrivateLabel
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 OpenAiPrivateLabel
impl Debug for OpenAiPrivateLabel
Source§impl Hash for OpenAiPrivateLabel
impl Hash for OpenAiPrivateLabel
Source§impl Ord for OpenAiPrivateLabel
impl Ord for OpenAiPrivateLabel
Source§fn cmp(&self, other: &OpenAiPrivateLabel) -> Ordering
fn cmp(&self, other: &OpenAiPrivateLabel) -> Ordering
1.21.0 (const: unstable) · 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 OpenAiPrivateLabel
impl PartialEq for OpenAiPrivateLabel
Source§fn eq(&self, other: &OpenAiPrivateLabel) -> bool
fn eq(&self, other: &OpenAiPrivateLabel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OpenAiPrivateLabel
impl PartialOrd for OpenAiPrivateLabel
impl Copy for OpenAiPrivateLabel
impl Eq for OpenAiPrivateLabel
impl StructuralPartialEq for OpenAiPrivateLabel
Auto Trait Implementations§
impl Freeze for OpenAiPrivateLabel
impl RefUnwindSafe for OpenAiPrivateLabel
impl Send for OpenAiPrivateLabel
impl Sync for OpenAiPrivateLabel
impl Unpin for OpenAiPrivateLabel
impl UnsafeUnpin for OpenAiPrivateLabel
impl UnwindSafe for OpenAiPrivateLabel
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