Enum saphir::header::RelationType
source · pub enum RelationType {
Show 41 variants
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),
}
Expand description
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
sourceimpl Clone for RelationType
impl Clone for RelationType
sourcefn clone(&self) -> RelationType
fn clone(&self) -> RelationType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RelationType
impl Debug for RelationType
sourceimpl Display for RelationType
impl Display for RelationType
sourceimpl FromStr for RelationType
impl FromStr for RelationType
sourceimpl PartialEq<RelationType> for RelationType
impl PartialEq<RelationType> for RelationType
sourcefn eq(&self, other: &RelationType) -> bool
fn eq(&self, other: &RelationType) -> bool
impl StructuralPartialEq for RelationType
Auto Trait Implementations
impl RefUnwindSafe for RelationType
impl Send for RelationType
impl Sync for RelationType
impl Unpin for RelationType
impl UnwindSafe for RelationType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more