pub struct GoogleCloudVideointelligenceV1_TextDetectionConfig {
pub language_hints: Option<Vec<String>>,
pub model: Option<String>,
}Expand description
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§
Source§impl Clone for GoogleCloudVideointelligenceV1_TextDetectionConfig
impl Clone for GoogleCloudVideointelligenceV1_TextDetectionConfig
Source§fn clone(&self) -> GoogleCloudVideointelligenceV1_TextDetectionConfig
fn clone(&self) -> GoogleCloudVideointelligenceV1_TextDetectionConfig
Returns a duplicate 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 GoogleCloudVideointelligenceV1_TextDetectionConfig
impl Default for GoogleCloudVideointelligenceV1_TextDetectionConfig
Source§fn default() -> GoogleCloudVideointelligenceV1_TextDetectionConfig
fn default() -> GoogleCloudVideointelligenceV1_TextDetectionConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudVideointelligenceV1_TextDetectionConfig
impl<'de> Deserialize<'de> for GoogleCloudVideointelligenceV1_TextDetectionConfig
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 GoogleCloudVideointelligenceV1_TextDetectionConfig
Auto Trait Implementations§
impl Freeze for GoogleCloudVideointelligenceV1_TextDetectionConfig
impl RefUnwindSafe for GoogleCloudVideointelligenceV1_TextDetectionConfig
impl Send for GoogleCloudVideointelligenceV1_TextDetectionConfig
impl Sync for GoogleCloudVideointelligenceV1_TextDetectionConfig
impl Unpin for GoogleCloudVideointelligenceV1_TextDetectionConfig
impl UnwindSafe for GoogleCloudVideointelligenceV1_TextDetectionConfig
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