pub struct InfoLink {
pub href: String,
pub rel: InfoLinkRel,
pub description: Option<String>,
pub locale: Option<LocaleCode>,
}Expand description
A link with more information about the style.
Fields§
§href: StringThe link’s URL.
rel: InfoLinkRelHow the link relates to the style.
description: Option<String>A human-readable description of the link.
locale: Option<LocaleCode>The link’s locale.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InfoLink
impl<'de> Deserialize<'de> for InfoLink
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
impl Eq for InfoLink
impl StructuralPartialEq for InfoLink
Auto Trait Implementations§
impl Freeze for InfoLink
impl RefUnwindSafe for InfoLink
impl Send for InfoLink
impl Sync for InfoLink
impl Unpin for InfoLink
impl UnwindSafe for InfoLink
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