Struct google_vision1::api::Feature
source · pub struct Feature {
pub max_results: Option<i32>,
pub model: Option<String>,
pub type_: Option<String>,
}
Expand description
The type of Google Cloud Vision API detection to perform, and the maximum number of results to return for that type. Multiple Feature
objects can be specified in the features
list.
This type is not used in any activity, and only used as part of another schema.
Fields§
§max_results: Option<i32>
Maximum number of results of this type. Does not apply to TEXT_DETECTION
, DOCUMENT_TEXT_DETECTION
, or CROP_HINTS
.
model: Option<String>
Model to use for the feature. Supported values: “builtin/stable” (the default if unset) and “builtin/latest”. DOCUMENT_TEXT_DETECTION
and TEXT_DETECTION
also support “builtin/weekly” for the bleeding edge release updated weekly.
type_: Option<String>
The feature type.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Feature
impl<'de> Deserialize<'de> for Feature
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 Feature
Auto Trait Implementations§
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnwindSafe for Feature
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