pub struct ProcessingMetadata {
pub thumbnail: Option<String>,
pub text_content: Option<String>,
pub dimensions: Option<(u32, u32)>,
pub properties: HashMap<String, String>,
}Expand description
Metadata from binary processing
Fields§
§thumbnail: Option<String>Thumbnail data for images (base64 encoded)
text_content: Option<String>Extracted text content
dimensions: Option<(u32, u32)>Image dimensions (width, height)
properties: HashMap<String, String>Additional format-specific metadata
Trait Implementations§
Source§impl Clone for ProcessingMetadata
impl Clone for ProcessingMetadata
Source§fn clone(&self) -> ProcessingMetadata
fn clone(&self) -> ProcessingMetadata
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessingMetadata
impl Debug for ProcessingMetadata
Source§impl Default for ProcessingMetadata
impl Default for ProcessingMetadata
Source§fn default() -> ProcessingMetadata
fn default() -> ProcessingMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProcessingMetadata
impl RefUnwindSafe for ProcessingMetadata
impl Send for ProcessingMetadata
impl Sync for ProcessingMetadata
impl Unpin for ProcessingMetadata
impl UnwindSafe for ProcessingMetadata
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)