pub struct DetectDocumentTextResponse {
pub blocks: Option<Vec<Block>>,
pub detect_document_text_model_version: Option<String>,
pub document_metadata: Option<DocumentMetadata>,
}Fields§
§blocks: Option<Vec<Block>>An array of Block objects that contain the text that's detected in the document.
detect_document_text_model_version: Option<String>§
document_metadata: Option<DocumentMetadata>Metadata about the document. It contains the number of pages that are detected in the document.
Trait Implementations§
Source§impl Clone for DetectDocumentTextResponse
impl Clone for DetectDocumentTextResponse
Source§fn clone(&self) -> DetectDocumentTextResponse
fn clone(&self) -> DetectDocumentTextResponse
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 DetectDocumentTextResponse
impl Debug for DetectDocumentTextResponse
Source§impl Default for DetectDocumentTextResponse
impl Default for DetectDocumentTextResponse
Source§fn default() -> DetectDocumentTextResponse
fn default() -> DetectDocumentTextResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DetectDocumentTextResponse
impl<'de> Deserialize<'de> for DetectDocumentTextResponse
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 StructuralPartialEq for DetectDocumentTextResponse
Auto Trait Implementations§
impl Freeze for DetectDocumentTextResponse
impl RefUnwindSafe for DetectDocumentTextResponse
impl Send for DetectDocumentTextResponse
impl Sync for DetectDocumentTextResponse
impl Unpin for DetectDocumentTextResponse
impl UnwindSafe for DetectDocumentTextResponse
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