pub struct GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk {
pub chunk_id: Option<String>,
pub content: Option<String>,
pub page_footers: Option<Vec<GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter>>,
pub page_headers: Option<Vec<GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader>>,
pub page_span: Option<GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan>,
pub source_block_ids: Option<Vec<String>>,
}Expand description
Represents a chunk.
This type is not used in any activity, and only used as part of another schema.
Fields§
§chunk_id: Option<String>ID of the chunk.
content: Option<String>Text content of the chunk.
Page footers associated with the chunk.
page_headers: Option<Vec<GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader>>Page headers associated with the chunk.
page_span: Option<GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan>Page span of the chunk.
source_block_ids: Option<Vec<String>>Unused.
Trait Implementations§
Source§impl Clone for GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
impl Clone for GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
Source§fn clone(&self) -> GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
fn clone(&self) -> GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
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 GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
impl Default for GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
Source§fn default() -> GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
fn default() -> GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
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 GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
Auto Trait Implementations§
impl Freeze for GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
impl RefUnwindSafe for GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
impl Send for GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
impl Sync for GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
impl Unpin for GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
impl UnwindSafe for GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
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