pub struct GoogleCloudDocumentaiV1Vertex {
pub x: Option<i32>,
pub y: Option<i32>,
}Expand description
A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.
This type is not used in any activity, and only used as part of another schema.
Fields§
§x: Option<i32>X coordinate.
y: Option<i32>Y coordinate (starts from the top of the image).
Trait Implementations§
Source§impl Clone for GoogleCloudDocumentaiV1Vertex
impl Clone for GoogleCloudDocumentaiV1Vertex
Source§fn clone(&self) -> GoogleCloudDocumentaiV1Vertex
fn clone(&self) -> GoogleCloudDocumentaiV1Vertex
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 GoogleCloudDocumentaiV1Vertex
impl Default for GoogleCloudDocumentaiV1Vertex
Source§fn default() -> GoogleCloudDocumentaiV1Vertex
fn default() -> GoogleCloudDocumentaiV1Vertex
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1Vertex
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1Vertex
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 GoogleCloudDocumentaiV1Vertex
Auto Trait Implementations§
impl Freeze for GoogleCloudDocumentaiV1Vertex
impl RefUnwindSafe for GoogleCloudDocumentaiV1Vertex
impl Send for GoogleCloudDocumentaiV1Vertex
impl Sync for GoogleCloudDocumentaiV1Vertex
impl Unpin for GoogleCloudDocumentaiV1Vertex
impl UnwindSafe for GoogleCloudDocumentaiV1Vertex
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