pub struct GoogleCloudDocumentaiV1DocumentStyleFontSize {
pub size: Option<f32>,
pub unit: Option<String>,
}Expand description
Font size with unit.
This type is not used in any activity, and only used as part of another schema.
Fields§
§size: Option<f32>Font size for the text.
unit: Option<String>Unit for the font size. Follows CSS naming (such as in, px, and pt).
Trait Implementations§
Source§impl Clone for GoogleCloudDocumentaiV1DocumentStyleFontSize
impl Clone for GoogleCloudDocumentaiV1DocumentStyleFontSize
Source§fn clone(&self) -> GoogleCloudDocumentaiV1DocumentStyleFontSize
fn clone(&self) -> GoogleCloudDocumentaiV1DocumentStyleFontSize
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 GoogleCloudDocumentaiV1DocumentStyleFontSize
impl Default for GoogleCloudDocumentaiV1DocumentStyleFontSize
Source§fn default() -> GoogleCloudDocumentaiV1DocumentStyleFontSize
fn default() -> GoogleCloudDocumentaiV1DocumentStyleFontSize
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1DocumentStyleFontSize
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1DocumentStyleFontSize
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 GoogleCloudDocumentaiV1DocumentStyleFontSize
Auto Trait Implementations§
impl Freeze for GoogleCloudDocumentaiV1DocumentStyleFontSize
impl RefUnwindSafe for GoogleCloudDocumentaiV1DocumentStyleFontSize
impl Send for GoogleCloudDocumentaiV1DocumentStyleFontSize
impl Sync for GoogleCloudDocumentaiV1DocumentStyleFontSize
impl Unpin for GoogleCloudDocumentaiV1DocumentStyleFontSize
impl UnwindSafe for GoogleCloudDocumentaiV1DocumentStyleFontSize
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