pub enum LinkRel {
Self_,
Next,
Prev,
First,
Last,
Related,
Alternate,
Custom(String),
}Expand description
Link relation type per RFC 8288.
Variants§
Self_
The current resource.
Next
Next page in a paginated collection.
Prev
Previous page in a paginated collection.
First
First page in a paginated collection.
Last
Last page in a paginated collection.
Related
A related resource.
Alternate
An alternate representation.
Custom(String)
Custom relation type.
Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).