pub struct GoogleCloudDocumentaiV1RawDocument {
pub content: Option<Vec<u8>>,
pub display_name: Option<String>,
pub mime_type: Option<String>,
}Expand description
Payload message of raw document content (bytes).
This type is not used in any activity, and only used as part of another schema.
Fields§
§content: Option<Vec<u8>>Inline document content.
display_name: Option<String>The display name of the document, it supports all Unicode characters except the following: *, ?, [, ], %, {, },', \", , ~, = and : are reserved. If not specified, a default ID is generated.
mime_type: Option<String>An IANA MIME type (RFC6838) indicating the nature and format of the content.
Trait Implementations§
Source§impl Clone for GoogleCloudDocumentaiV1RawDocument
impl Clone for GoogleCloudDocumentaiV1RawDocument
Source§fn clone(&self) -> GoogleCloudDocumentaiV1RawDocument
fn clone(&self) -> GoogleCloudDocumentaiV1RawDocument
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 GoogleCloudDocumentaiV1RawDocument
impl Default for GoogleCloudDocumentaiV1RawDocument
Source§fn default() -> GoogleCloudDocumentaiV1RawDocument
fn default() -> GoogleCloudDocumentaiV1RawDocument
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1RawDocument
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1RawDocument
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 GoogleCloudDocumentaiV1RawDocument
Auto Trait Implementations§
impl Freeze for GoogleCloudDocumentaiV1RawDocument
impl RefUnwindSafe for GoogleCloudDocumentaiV1RawDocument
impl Send for GoogleCloudDocumentaiV1RawDocument
impl Sync for GoogleCloudDocumentaiV1RawDocument
impl Unpin for GoogleCloudDocumentaiV1RawDocument
impl UnwindSafe for GoogleCloudDocumentaiV1RawDocument
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