[−][src]Enum gotham::router::tree::segment::SegmentType
Indicates the type of segment which is being represented by this Node.
Variants
Is matched exactly (string equality) to the segment for incoming request paths.
Unlike all other SegmentTypes
, values determined to be associated with this segment
within a Request
path are not stored within State
.
Uses the supplied regex to determine match against incoming request paths.
Fields of Constrained
regex: ConstrainedSegmentRegex
Regex used to match against a single segment of a request path.
Matches any corresponding segment for incoming request paths.
Matches multiple path segments until the end of the request path or until a child segment of the above defined types is found.
Trait Implementations
impl Clone for SegmentType
[src]
fn clone(&self) -> SegmentType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for SegmentType
[src]
impl Ord for SegmentType
[src]
fn cmp(&self, other: &SegmentType) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<SegmentType> for SegmentType
[src]
fn eq(&self, other: &SegmentType) -> bool
[src]
fn ne(&self, other: &SegmentType) -> bool
[src]
impl PartialOrd<SegmentType> for SegmentType
[src]
fn partial_cmp(&self, other: &SegmentType) -> Option<Ordering>
[src]
fn lt(&self, other: &SegmentType) -> bool
[src]
fn le(&self, other: &SegmentType) -> bool
[src]
fn gt(&self, other: &SegmentType) -> bool
[src]
fn ge(&self, other: &SegmentType) -> bool
[src]
impl StructuralEq for SegmentType
[src]
impl StructuralPartialEq for SegmentType
[src]
Auto Trait Implementations
impl RefUnwindSafe for SegmentType
impl Send for SegmentType
impl Sync for SegmentType
impl Unpin for SegmentType
impl UnwindSafe for SegmentType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,