Enum rustful::context::hypermedia::SegmentType
[−]
[src]
pub enum SegmentType { Static, VariableSegment, VariableSequence, }
The type of a hyperlink segment.
Variants
Static
A static part of a path.
VariableSegment
A single dynamic part of a path. This will match one arbitrary path segment.
VariableSequence
A dynamic sequence of segments. This works like a variable segment, but will match one or more segments until the rest of the pattern matches.
Trait Implementations
impl Clone for SegmentType
[src]
impl Clone for SegmentType
fn clone(&self) -> SegmentType
[src]
fn clone(&self) -> SegmentType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for SegmentType
[src]
impl PartialEq for SegmentType
fn eq(&self, __arg_0: &SegmentType) -> bool
[src]
fn eq(&self, __arg_0: &SegmentType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for SegmentType
[src]
impl Eq for SegmentType
impl PartialOrd for SegmentType
[src]
impl PartialOrd for SegmentType
fn partial_cmp(&self, __arg_0: &SegmentType) -> Option<Ordering>
[src]
fn partial_cmp(&self, __arg_0: &SegmentType) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for SegmentType
[src]
impl Ord for SegmentType
fn cmp(&self, __arg_0: &SegmentType) -> Ordering
[src]
fn cmp(&self, __arg_0: &SegmentType) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Debug for SegmentType
[src]
impl Debug for SegmentType
Auto Trait Implementations
impl Send for SegmentType
impl Send for SegmentType
impl Sync for SegmentType
impl Sync for SegmentType