pub struct JsonLdEntry {
pub schema_type: String,
pub name: Option<String>,
pub raw: String,
}Expand description
A JSON-LD structured data entry found on a page.
Fields§
§schema_type: StringThe @type value from the JSON-LD object.
name: Option<String>The name value, if present.
raw: StringThe raw JSON-LD string.
Trait Implementations§
Source§impl Clone for JsonLdEntry
impl Clone for JsonLdEntry
Source§fn clone(&self) -> JsonLdEntry
fn clone(&self) -> JsonLdEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JsonLdEntry
impl Debug for JsonLdEntry
Source§impl Default for JsonLdEntry
impl Default for JsonLdEntry
Source§fn default() -> JsonLdEntry
fn default() -> JsonLdEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JsonLdEntry
impl<'de> Deserialize<'de> for JsonLdEntry
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 JsonLdEntry
impl RefUnwindSafe for JsonLdEntry
impl Send for JsonLdEntry
impl Sync for JsonLdEntry
impl Unpin for JsonLdEntry
impl UnsafeUnpin for JsonLdEntry
impl UnwindSafe for JsonLdEntry
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