Struct gapi_grpc::google::cloud::language::v1::AnnotateTextRequest [−][src]
The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call.
Fields
document: Option<Document>
Input document.
features: Option<Features>
The enabled features.
encoding_type: i32
The encoding type used by the API to calculate offsets.
Implementations
impl AnnotateTextRequest
[src][−]
pub fn encoding_type(&self) -> EncodingType
[src][−]
Returns the enum value of encoding_type
, or the default if the field is set to an invalid enum value.
pub fn set_encoding_type(&mut self, value: EncodingType)
[src][−]
Sets encoding_type
to the provided enum value.
Trait Implementations
impl Clone for AnnotateTextRequest
[src][+]
impl Debug for AnnotateTextRequest
[src][+]
impl Default for AnnotateTextRequest
[src][+]
impl Message for AnnotateTextRequest
[src][+]
impl PartialEq<AnnotateTextRequest> for AnnotateTextRequest
[src][+]
impl StructuralPartialEq for AnnotateTextRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for AnnotateTextRequest
impl Send for AnnotateTextRequest
impl Sync for AnnotateTextRequest
impl Unpin for AnnotateTextRequest
impl UnwindSafe for AnnotateTextRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,