Struct google_documentai1::api::GoogleCloudDocumentaiV1NormalizedVertex[][src]

pub struct GoogleCloudDocumentaiV1NormalizedVertex {
    pub x: Option<f32>,
    pub y: Option<f32>,
}

A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.

This type is not used in any activity, and only used as part of another schema.

Fields

x: Option<f32>

X coordinate.

y: Option<f32>

Y coordinate (starts from the top of the image).

Trait Implementations

impl Clone for GoogleCloudDocumentaiV1NormalizedVertex[src]

impl Debug for GoogleCloudDocumentaiV1NormalizedVertex[src]

impl Default for GoogleCloudDocumentaiV1NormalizedVertex[src]

impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1NormalizedVertex[src]

impl Part for GoogleCloudDocumentaiV1NormalizedVertex[src]

impl Serialize for GoogleCloudDocumentaiV1NormalizedVertex[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.