pub struct ContentMetadataInfo {
pub title: Option<String>,
pub author: Option<String>,
pub language: Option<String>,
pub page_count: Option<u32>,
pub created_at: Option<DateTime<Utc>>,
}Expand description
Metadata extracted from file content.
Fields§
§title: Option<String>Document title
Author
language: Option<String>Language
page_count: Option<u32>Page count (for PDFs)
created_at: Option<DateTime<Utc>>Creation date
Trait Implementations§
Source§impl Clone for ContentMetadataInfo
impl Clone for ContentMetadataInfo
Source§fn clone(&self) -> ContentMetadataInfo
fn clone(&self) -> ContentMetadataInfo
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 ContentMetadataInfo
impl Debug for ContentMetadataInfo
Source§impl Default for ContentMetadataInfo
impl Default for ContentMetadataInfo
Source§fn default() -> ContentMetadataInfo
fn default() -> ContentMetadataInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContentMetadataInfo
impl RefUnwindSafe for ContentMetadataInfo
impl Send for ContentMetadataInfo
impl Sync for ContentMetadataInfo
impl Unpin for ContentMetadataInfo
impl UnwindSafe for ContentMetadataInfo
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