pub struct GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty {
pub display_name: Option<String>,
pub name: Option<String>,
pub occurrence_type: Option<String>,
pub value_type: Option<String>,
}Expand description
Defines properties that can be part of the entity type.
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_name: Option<String>User defined name for the property.
name: Option<String>The name of the property. Follows the same guidelines as the EntityType name.
occurrence_type: Option<String>Occurrence type limits the number of instances an entity type appears in the document.
value_type: Option<String>A reference to the value type of the property. This type is subject to the same conventions as the Entity.base_types field.
Trait Implementations§
Source§impl Clone for GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
impl Clone for GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
Source§fn clone(&self) -> GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
fn clone(&self) -> GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
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 GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
impl Default for GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
Source§fn default() -> GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
fn default() -> GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
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 GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
Auto Trait Implementations§
impl Freeze for GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
impl RefUnwindSafe for GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
impl Send for GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
impl Sync for GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
impl Unpin for GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
impl UnwindSafe for GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
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