pub struct PathParamInfo {
pub path: String,
pub params: Vec<PathParamConstraint>,
}Expand description
Path parameter constraint info for a specific HTTP endpoint.
Fields§
§path: StringHTTP path template (e.g., /v1/auth/sessions/{device_id}).
params: Vec<PathParamConstraint>Path parameter constraints, one per template variable.
Trait Implementations§
Source§impl Clone for PathParamInfo
impl Clone for PathParamInfo
Source§fn clone(&self) -> PathParamInfo
fn clone(&self) -> PathParamInfo
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 moreAuto Trait Implementations§
impl Freeze for PathParamInfo
impl RefUnwindSafe for PathParamInfo
impl Send for PathParamInfo
impl Sync for PathParamInfo
impl Unpin for PathParamInfo
impl UnwindSafe for PathParamInfo
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