Enum gapi_grpc::google::privacy::dlp::v2::crypto_replace_ffx_fpe_config::FfxCommonNativeAlphabet[][src]

#[repr(i32)]pub enum FfxCommonNativeAlphabet {
    Unspecified,
    Numeric,
    Hexadecimal,
    UpperCaseAlphaNumeric,
    AlphaNumeric,
}

These are commonly used subsets of the alphabet that the FFX mode natively supports. In the algorithm, the alphabet is selected using the “radix”. Therefore each corresponds to particular radix.

Variants

Unspecified

Unused.

Numeric

[0-9] (radix of 10)

Hexadecimal

[0-9A-F] (radix of 16)

UpperCaseAlphaNumeric

[0-9A-Z] (radix of 36)

AlphaNumeric

[0-9A-Za-z] (radix of 62)

Implementations

impl FfxCommonNativeAlphabet[src]

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

Returns true if value is a variant of FfxCommonNativeAlphabet.

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

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

Trait Implementations

impl Clone for FfxCommonNativeAlphabet[src]

impl Copy for FfxCommonNativeAlphabet[src]

impl Debug for FfxCommonNativeAlphabet[src]

impl Default for FfxCommonNativeAlphabet[src]

impl Eq for FfxCommonNativeAlphabet[src]

impl From<FfxCommonNativeAlphabet> for i32[src]

impl Hash for FfxCommonNativeAlphabet[src]

impl Ord for FfxCommonNativeAlphabet[src]

impl PartialEq<FfxCommonNativeAlphabet> for FfxCommonNativeAlphabet[src]

impl PartialOrd<FfxCommonNativeAlphabet> for FfxCommonNativeAlphabet[src]

impl StructuralEq for FfxCommonNativeAlphabet[src]

impl StructuralPartialEq for FfxCommonNativeAlphabet[src]

Auto Trait Implementations

impl RefUnwindSafe for FfxCommonNativeAlphabet

impl Send for FfxCommonNativeAlphabet

impl Sync for FfxCommonNativeAlphabet

impl Unpin for FfxCommonNativeAlphabet

impl UnwindSafe for FfxCommonNativeAlphabet

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]