Struct path2regex::Key
source · pub struct Key {
pub name: String,
pub prefix: String,
pub suffix: String,
pub pattern: String,
pub modifier: String,
}
Expand description
Parameter matches in the path
Fields
name: String
The name of the parameter
prefix: String
The prefix of the parameter
suffix: String
The suffix of the parameter
pattern: String
The regular in the parameter
modifier: String
The modifier for the parameter
Trait Implementations
impl Eq for Key
impl StructuralEq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
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