pub struct Link {
pub href: Uri,
pub rel: Option<String>,
pub described_by: Option<String>,
pub title: Option<String>,
pub media_type: Option<String>,
pub href_lang: Option<LangTagBuf>,
pub meta: Option<HashMap<String, Value>>,
}
Fields§
§href: Uri
§rel: Option<String>
§described_by: Option<String>
§title: Option<String>
§media_type: Option<String>
§href_lang: Option<LangTagBuf>
§meta: Option<HashMap<String, Value>>
Implementations§
Source§impl<'de> Link
impl<'de> Link
pub fn deserialize<__D>(__deserializer: __D) -> Result<Link, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Link
impl<'de> Deserialize<'de> for Link
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 Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnwindSafe for Link
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