pub struct FileMetadata {
pub title: Option<String>,
pub description: Option<String>,
pub status: Option<String>,
pub updated: Option<String>,
pub extra: HashMap<String, String>,
}Expand description
File metadata extracted from markdown content
Contains information about the file itself, such as title, description, and other metadata that can be extracted from the content structure.
Fields§
§title: Option<String>Main title of the document (usually from first heading)
description: Option<String>Document description or summary
status: Option<String>Status information, if present
updated: Option<String>Last updated date mentioned in content
extra: HashMap<String, String>Any additional metadata found in the content
Trait Implementations§
Source§impl Clone for FileMetadata
impl Clone for FileMetadata
Source§fn clone(&self) -> FileMetadata
fn clone(&self) -> FileMetadata
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 FileMetadata
impl Debug for FileMetadata
Source§impl Default for FileMetadata
impl Default for FileMetadata
Source§fn default() -> FileMetadata
fn default() -> FileMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FileMetadata
impl RefUnwindSafe for FileMetadata
impl Send for FileMetadata
impl Sync for FileMetadata
impl Unpin for FileMetadata
impl UnwindSafe for FileMetadata
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