pub enum LinkRel {
Follow,
NoFollow,
Ugc,
Sponsored,
External,
NoOpener,
NoReferrer,
Other,
}Expand description
Relationship types for links
Variants§
Follow
Standard follow link
NoFollow
nofollow link
Ugc
ugc (user generated content)
Sponsored
sponsored link
External
external link
NoOpener
noopener
NoReferrer
noreferrer
Other
Other rel value
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LinkRel
impl<'de> Deserialize<'de> for LinkRel
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 Copy for LinkRel
impl Eq for LinkRel
impl StructuralPartialEq for LinkRel
Auto Trait Implementations§
impl Freeze for LinkRel
impl RefUnwindSafe for LinkRel
impl Send for LinkRel
impl Sync for LinkRel
impl Unpin for LinkRel
impl UnwindSafe for LinkRel
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