[][src]Enum gcp_client::google::cloud::datalabeling::v1beta1::AnnotationSource

#[repr(i32)]pub enum AnnotationSource {
    Unspecified,
    Operator,
}

Specifies where the annotation comes from (whether it was provided by a human labeler or a different source).

Variants

Unspecified
Operator

Answer is provided by a human contributor.

Implementations

impl AnnotationSource[src]

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

Returns true if value is a variant of AnnotationSource.

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

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

Trait Implementations

impl Clone for AnnotationSource[src]

impl Copy for AnnotationSource[src]

impl Debug for AnnotationSource[src]

impl Default for AnnotationSource[src]

impl Eq for AnnotationSource[src]

impl From<AnnotationSource> for i32[src]

impl Hash for AnnotationSource[src]

impl Ord for AnnotationSource[src]

impl PartialEq<AnnotationSource> for AnnotationSource[src]

impl PartialOrd<AnnotationSource> for AnnotationSource[src]

impl StructuralEq for AnnotationSource[src]

impl StructuralPartialEq for AnnotationSource[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]