Enum gapi_grpc::google::privacy::dlp::v2::ContentOption[][src]

#[repr(i32)]pub enum ContentOption {
    ContentUnspecified,
    ContentText,
    ContentImage,
}

Options describing which parts of the provided content should be scanned.

Variants

ContentUnspecified

Includes entire content of a file or a data stream.

ContentText

Text content within the data, excluding any metadata.

ContentImage

Images found in the data.

Implementations

impl ContentOption[src]

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

Returns true if value is a variant of ContentOption.

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

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

Trait Implementations

impl Clone for ContentOption[src]

impl Copy for ContentOption[src]

impl Debug for ContentOption[src]

impl Default for ContentOption[src]

impl Eq for ContentOption[src]

impl From<ContentOption> for i32[src]

impl Hash for ContentOption[src]

impl Ord for ContentOption[src]

impl PartialEq<ContentOption> for ContentOption[src]

impl PartialOrd<ContentOption> for ContentOption[src]

impl StructuralEq for ContentOption[src]

impl StructuralPartialEq for ContentOption[src]

Auto Trait Implementations

impl RefUnwindSafe for ContentOption

impl Send for ContentOption

impl Sync for ContentOption

impl Unpin for ContentOption

impl UnwindSafe for ContentOption

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]