Struct gapi_grpc::google::cloud::aiplatform::v1beta1::schema::image_segmentation_annotation::MaskAnnotation[][src]

pub struct MaskAnnotation {
    pub mask_gcs_uri: String,
    pub annotation_spec_colors: Vec<AnnotationSpecColor>,
}

The mask based segmentation annotation.

Fields

mask_gcs_uri: String

Google Cloud Storage URI that points to the mask image. The image must be in PNG format. It must have the same size as the DataItem’s image. Each pixel in the image mask represents the AnnotationSpec which the pixel in the image DataItem belong to. Each color is mapped to one AnnotationSpec based on annotation_spec_colors.

annotation_spec_colors: Vec<AnnotationSpecColor>

The mapping between color and AnnotationSpec for this Annotation.

Trait Implementations

impl Clone for MaskAnnotation[src]

impl Debug for MaskAnnotation[src]

impl Default for MaskAnnotation[src]

impl Message for MaskAnnotation[src]

impl PartialEq<MaskAnnotation> for MaskAnnotation[src]

impl StructuralPartialEq for MaskAnnotation[src]

Auto Trait Implementations

impl RefUnwindSafe for MaskAnnotation

impl Send for MaskAnnotation

impl Sync for MaskAnnotation

impl Unpin for MaskAnnotation

impl UnwindSafe for MaskAnnotation

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