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
Alternatealternate.
Appendixappendix.
Bookmarkbookmark.
Chapterchapter.
Contentscontents.
Copyrightcopyright.
Currentcurrent.
DescribedBydescribedby.
Editedit.
EditMediaedit-media.
Enclosureenclosure.
Firstfirst.
Glossaryglossary.
Helphelp.
Hubhub.
Indexindex.
Lastlast.
LatestVersionlatest-version.
Licenselicense.
Nextnext.
NextArchivenext-archive.
Paymentpayment.
Prevprev.
PredecessorVersionpredecessor-version.
Previousprevious.
PrevArchiveprev-archive.
Relatedrelated.
Repliesreplies.
Sectionsection.
RelationTypeSelfself.
Serviceservice.
Startstart.
Stylesheetstylesheet.
Subsectionsubsection.
SuccessorVersionsuccessor-version.
Upup.
VersionHistoryversionHistory.
Viavia.
WorkingCopyworking-copy.
WorkingCopyOfworking-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