pub struct GoogleCloudDocumentaiV1SchemaVersion {
pub create_time: Option<DateTime<Utc>>,
pub display_name: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub schema: Option<GoogleCloudDocumentaiV1DocumentSchema>,
}Expand description
SchemaVersion is a version of the Schema which is created in SchemaGroup.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations schemas schema versions create projects (request|response)
- locations schemas schema versions get projects (response)
- locations schemas schema versions patch projects (request|response)
Fields§
§create_time: Option<DateTime<Utc>>Output only. The time when the SchemaVersion was created.
display_name: Option<String>Required. The user-defined name of the SchemaVersion.
labels: Option<HashMap<String, String>>Optional. The GCP labels for the SchemaVersion.
name: Option<String>Identifier. The resource name of the SchemaVersion. Format: projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}
schema: Option<GoogleCloudDocumentaiV1DocumentSchema>Required. The schema of the SchemaVersion.
Trait Implementations§
Source§impl Clone for GoogleCloudDocumentaiV1SchemaVersion
impl Clone for GoogleCloudDocumentaiV1SchemaVersion
Source§fn clone(&self) -> GoogleCloudDocumentaiV1SchemaVersion
fn clone(&self) -> GoogleCloudDocumentaiV1SchemaVersion
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 GoogleCloudDocumentaiV1SchemaVersion
impl Default for GoogleCloudDocumentaiV1SchemaVersion
Source§fn default() -> GoogleCloudDocumentaiV1SchemaVersion
fn default() -> GoogleCloudDocumentaiV1SchemaVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1SchemaVersion
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1SchemaVersion
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 RequestValue for GoogleCloudDocumentaiV1SchemaVersion
impl ResponseResult for GoogleCloudDocumentaiV1SchemaVersion
Auto Trait Implementations§
impl Freeze for GoogleCloudDocumentaiV1SchemaVersion
impl RefUnwindSafe for GoogleCloudDocumentaiV1SchemaVersion
impl Send for GoogleCloudDocumentaiV1SchemaVersion
impl Sync for GoogleCloudDocumentaiV1SchemaVersion
impl Unpin for GoogleCloudDocumentaiV1SchemaVersion
impl UnwindSafe for GoogleCloudDocumentaiV1SchemaVersion
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