pub struct NormalizedBinding {
pub binding: String,
pub method: String,
pub path: String,
pub canonical_query: String,
pub had_query: bool,
}Expand description
Structured binding with accessible parts.
Contains the normalized binding string plus its decomposed components.
Fields§
§binding: StringThe full binding string (METHOD|PATH|CANONICAL_QUERY)
method: StringHTTP method (uppercased)
path: StringNormalized path (decoded, dot-resolved, re-encoded)
canonical_query: StringCanonical query string (sorted, normalized, may be empty)
had_query: boolWhether the input query was non-empty
Trait Implementations§
Source§impl Clone for NormalizedBinding
impl Clone for NormalizedBinding
Source§fn clone(&self) -> NormalizedBinding
fn clone(&self) -> NormalizedBinding
Returns a duplicate 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 NormalizedBinding
impl Debug for NormalizedBinding
Source§impl PartialEq for NormalizedBinding
impl PartialEq for NormalizedBinding
impl Eq for NormalizedBinding
impl StructuralPartialEq for NormalizedBinding
Auto Trait Implementations§
impl Freeze for NormalizedBinding
impl RefUnwindSafe for NormalizedBinding
impl Send for NormalizedBinding
impl Sync for NormalizedBinding
impl Unpin for NormalizedBinding
impl UnsafeUnpin for NormalizedBinding
impl UnwindSafe for NormalizedBinding
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