pub enum LinkRelationHint {
Canonical,
Alternate,
Prev,
Next,
NoFollow,
Sponsored,
Ugc,
}Expand description
Link relation hints used by external surfaces.
Variants§
Canonical
Canonical relationship.
Alternate
Alternate surface relationship.
Prev
Previous page relationship.
Next
Next page relationship.
NoFollow
Untrusted or unendorsed link relationship.
Sponsored
Sponsored link relationship.
Ugc
User-generated content relationship.
Implementations§
Trait Implementations§
Source§impl Clone for LinkRelationHint
impl Clone for LinkRelationHint
Source§fn clone(&self) -> LinkRelationHint
fn clone(&self) -> LinkRelationHint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LinkRelationHint
impl Debug for LinkRelationHint
Source§impl Hash for LinkRelationHint
impl Hash for LinkRelationHint
Source§impl Ord for LinkRelationHint
impl Ord for LinkRelationHint
Source§fn cmp(&self, other: &LinkRelationHint) -> Ordering
fn cmp(&self, other: &LinkRelationHint) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LinkRelationHint
impl PartialEq for LinkRelationHint
Source§fn eq(&self, other: &LinkRelationHint) -> bool
fn eq(&self, other: &LinkRelationHint) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LinkRelationHint
impl PartialOrd for LinkRelationHint
impl Copy for LinkRelationHint
impl Eq for LinkRelationHint
impl StructuralPartialEq for LinkRelationHint
Auto Trait Implementations§
impl Freeze for LinkRelationHint
impl RefUnwindSafe for LinkRelationHint
impl Send for LinkRelationHint
impl Sync for LinkRelationHint
impl Unpin for LinkRelationHint
impl UnsafeUnpin for LinkRelationHint
impl UnwindSafe for LinkRelationHint
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