ReferenceSdkRustTypes
OcrLayout
Rust struct goodmem::models::OcrLayout: declaration, fields or variants, and implementations.
Struct OcrLayout
goodmem::models::OcrLayout
Parsed OCR layout output for a page.
pub struct OcrLayout {
pub cells: Vec<OcrCell>,
}Referenced types: OcrCell.
Fields
cells
pub cells: Vec<OcrCell>
Layout cells in reading order
Wire name: cells.
Implementations
validate
pub fn validate(&self) -> crate::Result<()>
Validate the request before sending, without making an HTTP call.
Trait implementations
Clone(derived)Default(derived)PartialEq(derived)Serialize(derived)impl<'de> Deserialize<'de> for OcrLayoutimpl std::fmt::Debug for OcrLayout