pub struct GoogleCloudDocumentaiV1beta2DocumentProvenance {
pub id: Option<i32>,
pub parents: Option<Vec<GoogleCloudDocumentaiV1beta2DocumentProvenanceParent>>,
pub revision: Option<i32>,
pub type_: Option<String>,
}Expand description
Structure to identify provenance relationships between annotations in different revisions.
This type is not used in any activity, and only used as part of another schema.
Fields§
§id: Option<i32>The Id of this operation. Needs to be unique within the scope of the revision.
parents: Option<Vec<GoogleCloudDocumentaiV1beta2DocumentProvenanceParent>>References to the original elements that are replaced.
revision: Option<i32>The index of the revision that produced this element.
type_: Option<String>The type of provenance operation.
Trait Implementations§
Source§impl Clone for GoogleCloudDocumentaiV1beta2DocumentProvenance
impl Clone for GoogleCloudDocumentaiV1beta2DocumentProvenance
Source§fn clone(&self) -> GoogleCloudDocumentaiV1beta2DocumentProvenance
fn clone(&self) -> GoogleCloudDocumentaiV1beta2DocumentProvenance
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 GoogleCloudDocumentaiV1beta2DocumentProvenance
impl Default for GoogleCloudDocumentaiV1beta2DocumentProvenance
Source§fn default() -> GoogleCloudDocumentaiV1beta2DocumentProvenance
fn default() -> GoogleCloudDocumentaiV1beta2DocumentProvenance
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2DocumentProvenance
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2DocumentProvenance
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 GoogleCloudDocumentaiV1beta2DocumentProvenance
Auto Trait Implementations§
impl Freeze for GoogleCloudDocumentaiV1beta2DocumentProvenance
impl RefUnwindSafe for GoogleCloudDocumentaiV1beta2DocumentProvenance
impl Send for GoogleCloudDocumentaiV1beta2DocumentProvenance
impl Sync for GoogleCloudDocumentaiV1beta2DocumentProvenance
impl Unpin for GoogleCloudDocumentaiV1beta2DocumentProvenance
impl UnwindSafe for GoogleCloudDocumentaiV1beta2DocumentProvenance
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