pub struct GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig {
pub chunking_config: Option<GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig>,
pub enable_image_annotation: Option<bool>,
pub enable_table_annotation: Option<bool>,
pub return_bounding_boxes: Option<bool>,
pub return_images: Option<bool>,
}Expand description
Serving config for layout parser processor.
This type is not used in any activity, and only used as part of another schema.
Fields§
§chunking_config: Option<GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig>Optional. Config for chunking in layout parser processor.
enable_image_annotation: Option<bool>Optional. Whether to include image annotations in layout parser response.
enable_table_annotation: Option<bool>Optional. Whether to include table annotations in layout parser response.
return_bounding_boxes: Option<bool>Optional. Whether to include bounding boxes in layout parser processor response.
return_images: Option<bool>Optional. Whether to include images in layout parser processor response.
Trait Implementations§
Source§impl Clone for GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
impl Clone for GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
Source§fn clone(&self) -> GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
fn clone(&self) -> GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
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 GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
impl Default for GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
Source§fn default() -> GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
fn default() -> GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
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 GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
Auto Trait Implementations§
impl Freeze for GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
impl RefUnwindSafe for GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
impl Send for GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
impl Sync for GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
impl Unpin for GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
impl UnwindSafe for GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig
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