pub struct Metadata {Show 14 fields
pub title: String,
pub description: String,
pub url: Option<String>,
pub image: Option<String>,
pub keywords: Option<Vec<String>>,
pub yt_transcript: Option<String>,
pub domain: Option<String>,
pub pathname: Option<String>,
pub original_url: Option<String>,
pub user_id: Option<String>,
pub resource_type: Option<String>,
pub file_size: Option<u64>,
pub extracted_data: Option<Value>,
pub automation_data: Option<Value>,
}Fields§
§title: StringSEO title of the page.
description: StringMeta description of the page.
url: Option<String>Final resolved URL if available.
image: Option<String>Social Open Graph preview image.
keywords: Option<Vec<String>>Optional keywords extracted from content.
yt_transcript: Option<String>Optional raw YouTube transcript string.
domain: Option<String>Domain of the source page.
pathname: Option<String>Additional fallback fields.
original_url: Option<String>§user_id: Option<String>§resource_type: Option<String>File-type classification if detected.
file_size: Option<u64>File size in bytes if known.
extracted_data: Option<Value>Any structured extraction result (generic).
automation_data: Option<Value>automation metadata:
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Metadata
impl<'de> Deserialize<'de> for Metadata
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
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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