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§
Source§impl Clone for RelationType
impl Clone for RelationType
Source§fn clone(&self) -> RelationType
fn clone(&self) -> RelationType
Returns a copy of the value. Read more
1.0.0 · 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 RelationType
impl Debug for RelationType
Source§impl Display for RelationType
impl Display for RelationType
Source§impl FromStr for RelationType
impl FromStr for RelationType
Source§impl PartialEq for RelationType
impl PartialEq for RelationType
impl StructuralPartialEq for RelationType
Auto Trait Implementations§
impl Freeze for RelationType
impl RefUnwindSafe for RelationType
impl Send for RelationType
impl Sync for RelationType
impl Unpin for RelationType
impl UnwindSafe for RelationType
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)