Struct kubizone_common::PatternSegment
source · pub struct PatternSegment(/* private fields */);Expand description
Segment of a pattern.
Used for matching against a single DomainSegment.
Implementations§
Trait Implementations§
source§impl AsRef<str> for PatternSegment
impl AsRef<str> for PatternSegment
source§impl Clone for PatternSegment
impl Clone for PatternSegment
source§fn clone(&self) -> PatternSegment
fn clone(&self) -> PatternSegment
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 PatternSegment
impl Debug for PatternSegment
source§impl Display for PatternSegment
impl Display for PatternSegment
source§impl From<&DomainSegment> for PatternSegment
impl From<&DomainSegment> for PatternSegment
source§fn from(value: &DomainSegment) -> Self
fn from(value: &DomainSegment) -> Self
Converts to this type from the input type.
source§impl From<DomainSegment> for PatternSegment
impl From<DomainSegment> for PatternSegment
source§fn from(value: DomainSegment) -> Self
fn from(value: DomainSegment) -> Self
Converts to this type from the input type.
source§impl FromIterator<PatternSegment> for Pattern
impl FromIterator<PatternSegment> for Pattern
source§fn from_iter<T: IntoIterator<Item = PatternSegment>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = PatternSegment>>(iter: T) -> Self
Creates a value from an iterator. Read more
source§impl Hash for PatternSegment
impl Hash for PatternSegment
source§impl Ord for PatternSegment
impl Ord for PatternSegment
source§fn cmp(&self, other: &PatternSegment) -> Ordering
fn cmp(&self, other: &PatternSegment) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PatternSegment
impl PartialEq for PatternSegment
source§fn eq(&self, other: &PatternSegment) -> bool
fn eq(&self, other: &PatternSegment) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for PatternSegment
impl PartialOrd for PatternSegment
source§fn partial_cmp(&self, other: &PatternSegment) -> Option<Ordering>
fn partial_cmp(&self, other: &PatternSegment) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
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 moresource§impl TryFrom<&str> for PatternSegment
impl TryFrom<&str> for PatternSegment
source§impl TryFrom<String> for PatternSegment
impl TryFrom<String> for PatternSegment
impl Eq for PatternSegment
impl StructuralPartialEq for PatternSegment
Auto Trait Implementations§
impl Freeze for PatternSegment
impl RefUnwindSafe for PatternSegment
impl Send for PatternSegment
impl Sync for PatternSegment
impl Unpin for PatternSegment
impl UnwindSafe for PatternSegment
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)