pub struct GoogleCloudDatalabelingV1beta1Annotation {
pub annotation_metadata: Option<GoogleCloudDatalabelingV1beta1AnnotationMetadata>,
pub annotation_sentiment: Option<String>,
pub annotation_source: Option<String>,
pub annotation_value: Option<GoogleCloudDatalabelingV1beta1AnnotationValue>,
pub name: Option<String>,
}
Expand description
Annotation for Example. Each example may have one or more annotations. For example in image classification problem, each image might have one or more labels. We call labels binded with this image an Annotation.
This type is not used in any activity, and only used as part of another schema.
Fields§
§annotation_metadata: Option<GoogleCloudDatalabelingV1beta1AnnotationMetadata>
Output only. Annotation metadata, including information like votes for labels.
annotation_sentiment: Option<String>
Output only. Sentiment for this annotation.
annotation_source: Option<String>
Output only. The source of the annotation.
annotation_value: Option<GoogleCloudDatalabelingV1beta1AnnotationValue>
Output only. This is the actual annotation value, e.g classification, bounding box values are stored here.
name: Option<String>
Output only. Unique name of this annotation, format is: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id}
Trait Implementations§
source§impl Clone for GoogleCloudDatalabelingV1beta1Annotation
impl Clone for GoogleCloudDatalabelingV1beta1Annotation
source§fn clone(&self) -> GoogleCloudDatalabelingV1beta1Annotation
fn clone(&self) -> GoogleCloudDatalabelingV1beta1Annotation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GoogleCloudDatalabelingV1beta1Annotation
impl Default for GoogleCloudDatalabelingV1beta1Annotation
source§fn default() -> GoogleCloudDatalabelingV1beta1Annotation
fn default() -> GoogleCloudDatalabelingV1beta1Annotation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1Annotation
impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1Annotation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudDatalabelingV1beta1Annotation
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDatalabelingV1beta1Annotation
impl Send for GoogleCloudDatalabelingV1beta1Annotation
impl Sync for GoogleCloudDatalabelingV1beta1Annotation
impl Unpin for GoogleCloudDatalabelingV1beta1Annotation
impl UnwindSafe for GoogleCloudDatalabelingV1beta1Annotation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more