pub struct OpenGraphMetadata {
pub title: Option<String>,
pub description: Option<String>,
pub image: Option<String>,
pub url: Option<String>,
pub type_: Option<String>,
}
Fields§
§title: Option<String>
§description: Option<String>
§image: Option<String>
§url: Option<String>
§type_: Option<String>
Trait Implementations§
Source§impl Clone for OpenGraphMetadata
impl Clone for OpenGraphMetadata
Source§fn clone(&self) -> OpenGraphMetadata
fn clone(&self) -> OpenGraphMetadata
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 OpenGraphMetadata
impl Debug for OpenGraphMetadata
Source§impl<'de> Deserialize<'de> for OpenGraphMetadata
impl<'de> Deserialize<'de> for OpenGraphMetadata
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
Source§impl PartialEq for OpenGraphMetadata
impl PartialEq for OpenGraphMetadata
Source§impl Serialize for OpenGraphMetadata
impl Serialize for OpenGraphMetadata
impl StructuralPartialEq for OpenGraphMetadata
Auto Trait Implementations§
impl Freeze for OpenGraphMetadata
impl RefUnwindSafe for OpenGraphMetadata
impl Send for OpenGraphMetadata
impl Sync for OpenGraphMetadata
impl Unpin for OpenGraphMetadata
impl UnwindSafe for OpenGraphMetadata
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