Enum reqwest::header::RelationType
[−]
[src]
pub enum RelationType { Alternate, Appendix, Bookmark, Chapter, Contents, Copyright, Current, DescribedBy, Edit, EditMedia, Enclosure, First, Glossary, Help, Hub, Index, Last, LatestVersion, License, Next, NextArchive, Payment, Prev, PredecessorVersion, Previous, PrevArchive, Related, Replies, Section, RelationTypeSelf, Service, Start, Stylesheet, Subsection, SuccessorVersion, Up, VersionHistory, Via, WorkingCopy, WorkingCopyOf, ExtRelType(String), }
A Link Relation Type Enum based on: RFC5988
Variants
Alternate
alternate.
Appendix
appendix.
Bookmark
bookmark.
Chapter
chapter.
Contents
contents.
Copyright
copyright.
Current
current.
DescribedBy
describedby.
Edit
edit.
EditMedia
edit-media.
Enclosure
enclosure.
First
first.
Glossary
glossary.
Help
help.
Hub
hub.
Index
index.
Last
last.
LatestVersion
latest-version.
License
license.
Next
next.
NextArchive
next-archive.
Payment
payment.
Prev
prev.
PredecessorVersion
predecessor-version.
Previous
previous.
PrevArchive
prev-archive.
Related
related.
Replies
replies.
Section
section.
RelationTypeSelf
self.
Service
service.
Start
start.
Stylesheet
stylesheet.
Subsection
subsection.
SuccessorVersion
successor-version.
Up
up.
VersionHistory
versionHistory.
Via
via.
WorkingCopy
working-copy.
WorkingCopyOf
working-copy-of.
ExtRelType(String)
ext-rel-type.
Trait Implementations
impl FromStr for RelationType
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<RelationType, Error>
[src]
Parses a string s
to return a value of this type. Read more
impl Display for RelationType
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl PartialEq<RelationType> for RelationType
[src]
fn eq(&self, __arg_0: &RelationType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RelationType) -> bool
[src]
This method tests for !=
.
impl Debug for RelationType
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Clone for RelationType
[src]
fn clone(&self) -> RelationType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more