Enum gapi_grpc::google::cloud::datalabeling::v1beta1::label_text_request::Feature[][src]

[]
#[repr(i32)]pub enum Feature {
    Unspecified,
    TextClassification,
    TextEntityExtraction,
}
[]

Text labeling task feature.

Variants

Unspecified
TextClassification
[]

Label text content to one of more labels.

TextEntityExtraction
[]

Label entities and their span in text.

Implementations

impl Feature[src][]

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

Returns true if value is a variant of Feature.

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

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

Trait Implementations

impl Clone for Feature[src][+]

impl Copy for Feature[src]

impl Debug for Feature[src][+]

impl Default for Feature[src][+]

impl Eq for Feature[src]

impl From<Feature> for i32[src][+]

impl Hash for Feature[src][+]

impl Ord for Feature[src][+]

impl PartialEq<Feature> for Feature[src][+]

impl PartialOrd<Feature> for Feature[src][+]

impl StructuralEq for Feature[src]

impl StructuralPartialEq for Feature[src]

Auto Trait Implementations

impl RefUnwindSafe for Feature

impl Send for Feature

impl Sync for Feature

impl Unpin for Feature

impl UnwindSafe for Feature

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][+]