Enum googapis::google::cloud::automl::v1::text_extraction_annotation::Annotation [−][src]
pub enum Annotation {
TextSegment(TextSegment),
}
Expand description
Required. Text extraction annotations can either be a text segment or a text relation.
Variants
TextSegment(TextSegment)
An entity annotation will set this, which is the part of the original text to which the annotation pertains.
Tuple Fields of TextSegment
0: TextSegment
Implementations
pub fn merge<B>(
field: &mut Option<Annotation>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Unpin for Annotation
impl UnwindSafe for Annotation
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more