#[non_exhaustive]pub struct TableChunkField {
pub annotations: Option<Annotations>,
/* private fields */
}Expand description
The table chunk field in the chunk.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.annotations: Option<Annotations>Annotation of the table chunk field.
Implementations§
Source§impl TableChunkField
impl TableChunkField
Sourcepub fn set_annotations<T>(self, v: T) -> Selfwhere
T: Into<Annotations>,
pub fn set_annotations<T>(self, v: T) -> Selfwhere
T: Into<Annotations>,
Sets the value of annotations.
§Example
ⓘ
use google_cloud_documentai_v1::model::document::Annotations;
let x = TableChunkField::new().set_annotations(Annotations::default()/* use setters */);Sourcepub fn set_or_clear_annotations<T>(self, v: Option<T>) -> Selfwhere
T: Into<Annotations>,
pub fn set_or_clear_annotations<T>(self, v: Option<T>) -> Selfwhere
T: Into<Annotations>,
Sets or clears the value of annotations.
§Example
ⓘ
use google_cloud_documentai_v1::model::document::Annotations;
let x = TableChunkField::new().set_or_clear_annotations(Some(Annotations::default()/* use setters */));
let x = TableChunkField::new().set_or_clear_annotations(None::<Annotations>);Trait Implementations§
Source§impl Clone for TableChunkField
impl Clone for TableChunkField
Source§fn clone(&self) -> TableChunkField
fn clone(&self) -> TableChunkField
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 Debug for TableChunkField
impl Debug for TableChunkField
Source§impl Default for TableChunkField
impl Default for TableChunkField
Source§fn default() -> TableChunkField
fn default() -> TableChunkField
Returns the “default value” for a type. Read more
Source§impl Message for TableChunkField
impl Message for TableChunkField
Source§impl PartialEq for TableChunkField
impl PartialEq for TableChunkField
impl StructuralPartialEq for TableChunkField
Auto Trait Implementations§
impl Freeze for TableChunkField
impl RefUnwindSafe for TableChunkField
impl Send for TableChunkField
impl Sync for TableChunkField
impl Unpin for TableChunkField
impl UnsafeUnpin for TableChunkField
impl UnwindSafe for TableChunkField
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