pub struct GoogleCloudDocumentaiV1beta2DocumentPageImage {
pub content: Option<Vec<u8>>,
pub height: Option<i32>,
pub mime_type: Option<String>,
pub width: Option<i32>,
}Expand description
Rendered image contents for this page.
This type is not used in any activity, and only used as part of another schema.
Fields§
§content: Option<Vec<u8>>Raw byte content of the image.
height: Option<i32>Height of the image in pixels.
mime_type: Option<String>Encoding media type (MIME type) for the image.
width: Option<i32>Width of the image in pixels.
Trait Implementations§
Source§impl Clone for GoogleCloudDocumentaiV1beta2DocumentPageImage
impl Clone for GoogleCloudDocumentaiV1beta2DocumentPageImage
Source§fn clone(&self) -> GoogleCloudDocumentaiV1beta2DocumentPageImage
fn clone(&self) -> GoogleCloudDocumentaiV1beta2DocumentPageImage
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 GoogleCloudDocumentaiV1beta2DocumentPageImage
impl Default for GoogleCloudDocumentaiV1beta2DocumentPageImage
Source§fn default() -> GoogleCloudDocumentaiV1beta2DocumentPageImage
fn default() -> GoogleCloudDocumentaiV1beta2DocumentPageImage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2DocumentPageImage
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2DocumentPageImage
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 GoogleCloudDocumentaiV1beta2DocumentPageImage
Auto Trait Implementations§
impl Freeze for GoogleCloudDocumentaiV1beta2DocumentPageImage
impl RefUnwindSafe for GoogleCloudDocumentaiV1beta2DocumentPageImage
impl Send for GoogleCloudDocumentaiV1beta2DocumentPageImage
impl Sync for GoogleCloudDocumentaiV1beta2DocumentPageImage
impl Unpin for GoogleCloudDocumentaiV1beta2DocumentPageImage
impl UnwindSafe for GoogleCloudDocumentaiV1beta2DocumentPageImage
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