pub enum UrlPathOp {
Equal,
StartsWith,
Contains,
EndsWith,
WildCard,
NotEqual,
}Expand description
Operator for the URL path match in RulePayload.
Mirrors the routing crate’s internal operator set but lives in
apimock-config to decouple the GUI-facing payload type from
routing-internal types.
Variants§
Trait Implementations§
impl Copy for UrlPathOp
impl Eq for UrlPathOp
impl StructuralPartialEq for UrlPathOp
Auto Trait Implementations§
impl Freeze for UrlPathOp
impl RefUnwindSafe for UrlPathOp
impl Send for UrlPathOp
impl Sync for UrlPathOp
impl Unpin for UrlPathOp
impl UnsafeUnpin for UrlPathOp
impl UnwindSafe for UrlPathOp
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.