Expand description
A single segment pattern matcher in an ArnPattern.
Variants
Empty
Empty match.
Any
Wildcard match.
Exact(String)
Exact string match.
StartsWith(String)
StartsWith is a simple prefix match.
Regex(String, Regex)
Regex pattern contains the original Arn glob-like pattern followed by the compiled regex.
Implementations
Trait Implementations
sourceimpl Clone for ArnSegmentPattern
impl Clone for ArnSegmentPattern
sourcefn clone(&self) -> ArnSegmentPattern
fn clone(&self) -> ArnSegmentPattern
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ArnSegmentPattern
impl Debug for ArnSegmentPattern
sourceimpl Display for ArnSegmentPattern
impl Display for ArnSegmentPattern
sourceimpl FromStr for ArnSegmentPattern
impl FromStr for ArnSegmentPattern
type Err = Infallible
type Err = Infallible
The associated error which can be returned from parsing.
sourceimpl Hash for ArnSegmentPattern
impl Hash for ArnSegmentPattern
sourceimpl PartialEq<ArnSegmentPattern> for ArnSegmentPattern
impl PartialEq<ArnSegmentPattern> for ArnSegmentPattern
impl Eq for ArnSegmentPattern
Auto Trait Implementations
impl RefUnwindSafe for ArnSegmentPattern
impl Send for ArnSegmentPattern
impl Sync for ArnSegmentPattern
impl Unpin for ArnSegmentPattern
impl UnwindSafe for ArnSegmentPattern
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