pub struct RouteMetadata {
pub title: Option<String>,
pub description: Option<String>,
pub keywords: Vec<String>,
pub open_graph: Option<OpenGraphMetadata>,
pub twitter_card: Option<TwitterCardMetadata>,
pub canonical_url: Option<String>,
pub robots: Option<RobotsMetadata>,
}
Fields§
§title: Option<String>
§description: Option<String>
§keywords: Vec<String>
§open_graph: Option<OpenGraphMetadata>
§twitter_card: Option<TwitterCardMetadata>
§canonical_url: Option<String>
§robots: Option<RobotsMetadata>
Trait Implementations§
Source§impl Clone for RouteMetadata
impl Clone for RouteMetadata
Source§fn clone(&self) -> RouteMetadata
fn clone(&self) -> RouteMetadata
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 RouteMetadata
impl Debug for RouteMetadata
Source§impl<'de> Deserialize<'de> for RouteMetadata
impl<'de> Deserialize<'de> for RouteMetadata
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 RouteMetadata
impl PartialEq for RouteMetadata
Source§impl Serialize for RouteMetadata
impl Serialize for RouteMetadata
impl StructuralPartialEq for RouteMetadata
Auto Trait Implementations§
impl Freeze for RouteMetadata
impl RefUnwindSafe for RouteMetadata
impl Send for RouteMetadata
impl Sync for RouteMetadata
impl Unpin for RouteMetadata
impl UnwindSafe for RouteMetadata
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