pub struct Geometry {
pub bounding_box: Option<BoundingBox>,
pub polygon: Option<Vec<Point>>,
}Expand description
Information about where the following items are located on a document page: detected page, text, key-value pairs, tables, table cells, and selection elements.
Fields§
§bounding_box: Option<BoundingBox>An axis-aligned coarse representation of the location of the recognized item on the document page.
polygon: Option<Vec<Point>>Within the bounding box, a fine-grained polygon around the recognized item.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Geometry
impl<'de> Deserialize<'de> for Geometry
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 StructuralPartialEq for Geometry
Auto Trait Implementations§
impl Freeze for Geometry
impl RefUnwindSafe for Geometry
impl Send for Geometry
impl Sync for Geometry
impl Unpin for Geometry
impl UnwindSafe for Geometry
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