[][src]Struct google_videointelligence1::GoogleCloudVideointelligenceV1_TextDetectionConfig

pub struct GoogleCloudVideointelligenceV1_TextDetectionConfig {
    pub language_hints: Option<Vec<String>>,
    pub model: Option<String>,
}

Config for TEXT_DETECTION.

This type is not used in any activity, and only used as part of another schema.

Fields

language_hints: Option<Vec<String>>

Language hint can be specified if the language to be detected is known a priori. It can increase the accuracy of the detection. Language hint must be language code in BCP-47 format.

Automatic language detection is performed if no hint is provided.

model: Option<String>

Model to use for text detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

Trait Implementations

impl Clone for GoogleCloudVideointelligenceV1_TextDetectionConfig[src]

impl Debug for GoogleCloudVideointelligenceV1_TextDetectionConfig[src]

impl Default for GoogleCloudVideointelligenceV1_TextDetectionConfig[src]

impl<'de> Deserialize<'de> for GoogleCloudVideointelligenceV1_TextDetectionConfig[src]

impl Part for GoogleCloudVideointelligenceV1_TextDetectionConfig[src]

impl Serialize for GoogleCloudVideointelligenceV1_TextDetectionConfig[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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<T> Typeable for T where
    T: Any