pub struct GoogleCloudDocumentaiV1beta2DocumentPageLayout {
pub bounding_poly: Option<GoogleCloudDocumentaiV1beta2BoundingPoly>,
pub confidence: Option<f32>,
pub orientation: Option<String>,
pub text_anchor: Option<GoogleCloudDocumentaiV1beta2DocumentTextAnchor>,
}Expand description
Visual element describing a layout unit on a page.
This type is not used in any activity, and only used as part of another schema.
Fields§
§bounding_poly: Option<GoogleCloudDocumentaiV1beta2BoundingPoly>The bounding polygon for the Layout.
confidence: Option<f32>Confidence of the current Layout within context of the object this layout is for. e.g. confidence can be for a single token, a table, a visual element, etc. depending on context. Range [0, 1].
orientation: Option<String>Detected orientation for the Layout.
text_anchor: Option<GoogleCloudDocumentaiV1beta2DocumentTextAnchor>Text anchor indexing into the Document.text.
Trait Implementations§
Source§impl Clone for GoogleCloudDocumentaiV1beta2DocumentPageLayout
impl Clone for GoogleCloudDocumentaiV1beta2DocumentPageLayout
Source§fn clone(&self) -> GoogleCloudDocumentaiV1beta2DocumentPageLayout
fn clone(&self) -> GoogleCloudDocumentaiV1beta2DocumentPageLayout
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 GoogleCloudDocumentaiV1beta2DocumentPageLayout
impl Default for GoogleCloudDocumentaiV1beta2DocumentPageLayout
Source§fn default() -> GoogleCloudDocumentaiV1beta2DocumentPageLayout
fn default() -> GoogleCloudDocumentaiV1beta2DocumentPageLayout
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2DocumentPageLayout
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2DocumentPageLayout
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 GoogleCloudDocumentaiV1beta2DocumentPageLayout
Auto Trait Implementations§
impl Freeze for GoogleCloudDocumentaiV1beta2DocumentPageLayout
impl RefUnwindSafe for GoogleCloudDocumentaiV1beta2DocumentPageLayout
impl Send for GoogleCloudDocumentaiV1beta2DocumentPageLayout
impl Sync for GoogleCloudDocumentaiV1beta2DocumentPageLayout
impl Unpin for GoogleCloudDocumentaiV1beta2DocumentPageLayout
impl UnwindSafe for GoogleCloudDocumentaiV1beta2DocumentPageLayout
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