pub struct SiteMetadata {
pub domain: String,
pub og_title: Option<String>,
pub og_description: Option<String>,
pub og_image: Option<String>,
pub og_url: Option<String>,
pub og_type: Option<String>,
pub title: Option<String>,
pub description: Option<String>,
pub favicon: Option<String>,
}Fields§
§domain: String§og_title: Option<String>§og_description: Option<String>§og_image: Option<String>§og_url: Option<String>§og_type: Option<String>§title: Option<String>§description: Option<String>§favicon: Option<String>Trait Implementations§
Source§impl Clone for SiteMetadata
impl Clone for SiteMetadata
Source§fn clone(&self) -> SiteMetadata
fn clone(&self) -> SiteMetadata
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 SiteMetadata
impl Debug for SiteMetadata
Source§impl<'de> Deserialize<'de> for SiteMetadata
impl<'de> Deserialize<'de> for SiteMetadata
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SiteMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SiteMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SiteMetadata
impl PartialEq for SiteMetadata
Source§impl Serialize for SiteMetadata
impl Serialize for SiteMetadata
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SiteMetadata
Auto Trait Implementations§
impl Freeze for SiteMetadata
impl RefUnwindSafe for SiteMetadata
impl Send for SiteMetadata
impl Sync for SiteMetadata
impl Unpin for SiteMetadata
impl UnsafeUnpin for SiteMetadata
impl UnwindSafe for SiteMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more