#[non_exhaustive]pub struct UrlPathView {
pub value: String,
pub op: String,
}Expand description
URL-path predicate detail.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.value: StringThe path string from the rule, e.g. "/api/v1/users".
op: StringMatching operator name in lowercase TOML form, e.g.
"equals" or "starts_with".
Implementations§
Trait Implementations§
Source§impl Clone for UrlPathView
impl Clone for UrlPathView
Source§fn clone(&self) -> UrlPathView
fn clone(&self) -> UrlPathView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UrlPathView
impl Debug for UrlPathView
Auto Trait Implementations§
impl Freeze for UrlPathView
impl RefUnwindSafe for UrlPathView
impl Send for UrlPathView
impl Sync for UrlPathView
impl Unpin for UrlPathView
impl UnsafeUnpin for UrlPathView
impl UnwindSafe for UrlPathView
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