[][src]Struct google_documentai1_beta2::GoogleCloudDocumentaiV1beta2DocumentStyle

pub struct GoogleCloudDocumentaiV1beta2DocumentStyle {
    pub text_anchor: Option<GoogleCloudDocumentaiV1beta2DocumentTextAnchor>,
    pub text_style: Option<String>,
    pub font_size: Option<GoogleCloudDocumentaiV1beta2DocumentStyleFontSize>,
    pub text_decoration: Option<String>,
    pub background_color: Option<GoogleTypeColor>,
    pub font_weight: Option<String>,
    pub color: Option<GoogleTypeColor>,
}

Annotation for common text style attributes. This adheres to CSS conventions as much as possible.

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

Fields

text_anchor: Option<GoogleCloudDocumentaiV1beta2DocumentTextAnchor>

Text anchor indexing into the Document.text.

text_style: Option<String>

Text style. Possible values are normal, italic, and oblique. https://www.w3schools.com/cssref/pr_font_font-style.asp

font_size: Option<GoogleCloudDocumentaiV1beta2DocumentStyleFontSize>

Font size.

text_decoration: Option<String>

Text decoration. Follows CSS standard. https://www.w3schools.com/cssref/pr_text_text-decoration.asp

background_color: Option<GoogleTypeColor>

Text background color.

font_weight: Option<String>

Font weight. Possible values are normal, bold, bolder, and lighter. https://www.w3schools.com/cssref/pr_font_weight.asp

color: Option<GoogleTypeColor>

Text color.

Trait Implementations

impl Clone for GoogleCloudDocumentaiV1beta2DocumentStyle[src]

impl Debug for GoogleCloudDocumentaiV1beta2DocumentStyle[src]

impl Default for GoogleCloudDocumentaiV1beta2DocumentStyle[src]

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

impl Part for GoogleCloudDocumentaiV1beta2DocumentStyle[src]

impl Serialize for GoogleCloudDocumentaiV1beta2DocumentStyle[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, 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.

impl<T> Typeable for T where
    T: Any