Enum gapi_grpc::google::privacy::dlp::v2::chars_to_ignore::CommonCharsToIgnore[][src]

#[repr(i32)]pub enum CommonCharsToIgnore {
    Unspecified,
    Numeric,
    AlphaUpperCase,
    AlphaLowerCase,
    Punctuation,
    Whitespace,
}

Convenience enum for indication common characters to not transform.

Variants

Unspecified

Unused.

Numeric

0-9

AlphaUpperCase

A-Z

AlphaLowerCase

a-z

Punctuation

US Punctuation, one of !“#$%&’()*+,-./:;<=>?@[]^_`{|}~

Whitespace

Whitespace character, one of [ \t\n\x0B\f\r]

Implementations

impl CommonCharsToIgnore[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of CommonCharsToIgnore.

pub fn from_i32(value: i32) -> Option<CommonCharsToIgnore>[src]

Converts an i32 to a CommonCharsToIgnore, or None if value is not a valid variant.

Trait Implementations

impl Clone for CommonCharsToIgnore[src]

impl Copy for CommonCharsToIgnore[src]

impl Debug for CommonCharsToIgnore[src]

impl Default for CommonCharsToIgnore[src]

impl Eq for CommonCharsToIgnore[src]

impl From<CommonCharsToIgnore> for i32[src]

impl Hash for CommonCharsToIgnore[src]

impl Ord for CommonCharsToIgnore[src]

impl PartialEq<CommonCharsToIgnore> for CommonCharsToIgnore[src]

impl PartialOrd<CommonCharsToIgnore> for CommonCharsToIgnore[src]

impl StructuralEq for CommonCharsToIgnore[src]

impl StructuralPartialEq for CommonCharsToIgnore[src]

Auto Trait Implementations

impl RefUnwindSafe for CommonCharsToIgnore

impl Send for CommonCharsToIgnore

impl Sync for CommonCharsToIgnore

impl Unpin for CommonCharsToIgnore

impl UnwindSafe for CommonCharsToIgnore

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]