pub enum ValueType {
ImageClassificationAnnotation(ImageClassificationAnnotation),
ImageBoundingPolyAnnotation(ImageBoundingPolyAnnotation),
ImagePolylineAnnotation(ImagePolylineAnnotation),
ImageSegmentationAnnotation(ImageSegmentationAnnotation),
TextClassificationAnnotation(TextClassificationAnnotation),
TextEntityExtractionAnnotation(TextEntityExtractionAnnotation),
VideoClassificationAnnotation(VideoClassificationAnnotation),
VideoObjectTrackingAnnotation(VideoObjectTrackingAnnotation),
VideoEventAnnotation(VideoEventAnnotation),
}
Variants§
ImageClassificationAnnotation(ImageClassificationAnnotation)
Annotation value for image classification case.
ImageBoundingPolyAnnotation(ImageBoundingPolyAnnotation)
Annotation value for image bounding box, oriented bounding box and polygon cases.
ImagePolylineAnnotation(ImagePolylineAnnotation)
Annotation value for image polyline cases. Polyline here is different from BoundingPoly. It is formed by line segments connected to each other but not closed form(Bounding Poly). The line segments can cross each other.
ImageSegmentationAnnotation(ImageSegmentationAnnotation)
Annotation value for image segmentation.
TextClassificationAnnotation(TextClassificationAnnotation)
Annotation value for text classification case.
TextEntityExtractionAnnotation(TextEntityExtractionAnnotation)
Annotation value for text entity extraction case.
VideoClassificationAnnotation(VideoClassificationAnnotation)
Annotation value for video classification case.
VideoObjectTrackingAnnotation(VideoObjectTrackingAnnotation)
Annotation value for video object detection and tracking case.
VideoEventAnnotation(VideoEventAnnotation)
Annotation value for video event case.
Implementations§
source§impl ValueType
impl ValueType
sourcepub fn merge<B>(
field: &mut Option<ValueType>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<ValueType>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for ValueType
impl PartialEq for ValueType
impl StructuralPartialEq for ValueType
Auto Trait Implementations§
impl !Freeze for ValueType
impl RefUnwindSafe for ValueType
impl Send for ValueType
impl Sync for ValueType
impl Unpin for ValueType
impl UnwindSafe for ValueType
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request