pub enum Link<'a, 'b> {
String(&'a str, &'b str),
Object(&'a str, &'b str),
SelfReference(&'a str),
SelfReferenceObject(&'a str),
About(&'a str),
AboutObject(&'a str),
First(&'a str),
Last(&'a str),
Previous(&'a str),
Next(&'a str),
Related(&'a str),
}
Variants§
String(&'a str, &'b str)
Object(&'a str, &'b str)
SelfReference(&'a str)
SelfReferenceObject(&'a str)
About(&'a str)
AboutObject(&'a str)
First(&'a str)
Last(&'a str)
Previous(&'a str)
Next(&'a str)
Related(&'a str)
Trait Implementations§
Source§impl<'de: 'a + 'b, 'a, 'b> Deserialize<'de> for Link<'a, 'b>
impl<'de: 'a + 'b, 'a, 'b> Deserialize<'de> for Link<'a, 'b>
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<'a, 'b> Freeze for Link<'a, 'b>
impl<'a, 'b> RefUnwindSafe for Link<'a, 'b>
impl<'a, 'b> Send for Link<'a, 'b>
impl<'a, 'b> Sync for Link<'a, 'b>
impl<'a, 'b> Unpin for Link<'a, 'b>
impl<'a, 'b> UnwindSafe for Link<'a, 'b>
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