[−][src]Struct google_documentai1_beta2::GoogleCloudDocumentaiV1beta2DocumentLabel
Label attaches schema information and/or other metadata to segments within a Document. Multiple Labels on a single field can denote either different labels, different instances of the same label created at different times, or some combination of both.
This type is not used in any activity, and only used as part of another schema.
Fields
automl_model: Option<String>
Label is generated AutoML model. This field stores the full resource name of the AutoML model.
Format:
projects/{project-id}/locations/{location-id}/models/{model-id}
confidence: Option<f32>
Confidence score between 0 and 1 for label assignment.
name: Option<String>
Name of the label.
When the label is generated from AutoML Text Classification model, this field represents the name of the category.
Trait Implementations
impl Clone for GoogleCloudDocumentaiV1beta2DocumentLabel
[src]
fn clone(&self) -> GoogleCloudDocumentaiV1beta2DocumentLabel
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GoogleCloudDocumentaiV1beta2DocumentLabel
[src]
impl Default for GoogleCloudDocumentaiV1beta2DocumentLabel
[src]
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2DocumentLabel
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for GoogleCloudDocumentaiV1beta2DocumentLabel
[src]
impl Serialize for GoogleCloudDocumentaiV1beta2DocumentLabel
[src]
Auto Trait Implementations
impl RefUnwindSafe for GoogleCloudDocumentaiV1beta2DocumentLabel
impl Send for GoogleCloudDocumentaiV1beta2DocumentLabel
impl Sync for GoogleCloudDocumentaiV1beta2DocumentLabel
impl Unpin for GoogleCloudDocumentaiV1beta2DocumentLabel
impl UnwindSafe for GoogleCloudDocumentaiV1beta2DocumentLabel
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,