pub struct GoogleCloudDocumentaiV1DocumentSchemaMetadata {
pub document_allow_multiple_labels: Option<bool>,
pub document_splitter: Option<bool>,
pub prefixed_naming_on_properties: Option<bool>,
pub skip_naming_validation: Option<bool>,
}Expand description
Metadata for global schema behavior.
This type is not used in any activity, and only used as part of another schema.
Fields§
§document_allow_multiple_labels: Option<bool>If true, on a given page, there can be multiple document annotations covering it.
document_splitter: Option<bool>If true, a document entity type can be applied to subdocument (splitting). Otherwise, it can only be applied to the entire document (classification).
prefixed_naming_on_properties: Option<bool>If set, all the nested entities must be prefixed with the parents.
skip_naming_validation: Option<bool>If set, we will skip the naming format validation in the schema. So the string values in DocumentSchema.EntityType.name and DocumentSchema.EntityType.Property.name will not be checked.
Trait Implementations§
Source§impl Clone for GoogleCloudDocumentaiV1DocumentSchemaMetadata
impl Clone for GoogleCloudDocumentaiV1DocumentSchemaMetadata
Source§fn clone(&self) -> GoogleCloudDocumentaiV1DocumentSchemaMetadata
fn clone(&self) -> GoogleCloudDocumentaiV1DocumentSchemaMetadata
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 GoogleCloudDocumentaiV1DocumentSchemaMetadata
impl Default for GoogleCloudDocumentaiV1DocumentSchemaMetadata
Source§fn default() -> GoogleCloudDocumentaiV1DocumentSchemaMetadata
fn default() -> GoogleCloudDocumentaiV1DocumentSchemaMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1DocumentSchemaMetadata
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1DocumentSchemaMetadata
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 GoogleCloudDocumentaiV1DocumentSchemaMetadata
Auto Trait Implementations§
impl Freeze for GoogleCloudDocumentaiV1DocumentSchemaMetadata
impl RefUnwindSafe for GoogleCloudDocumentaiV1DocumentSchemaMetadata
impl Send for GoogleCloudDocumentaiV1DocumentSchemaMetadata
impl Sync for GoogleCloudDocumentaiV1DocumentSchemaMetadata
impl Unpin for GoogleCloudDocumentaiV1DocumentSchemaMetadata
impl UnwindSafe for GoogleCloudDocumentaiV1DocumentSchemaMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more