pub struct PathChanges<'a> {
pub header: Box<str>,
pub path: &'a mut Vec<Box<str>>,
/* private fields */
}
Expand description
Represents the changes to be made to a path.
This is generated when a header is found. It’s still possible to access the previous path of headers before applying the changes.
Fields§
§header: Box<str>
The header name that will be added.
path: &'a mut Vec<Box<str>>
The path to which changes will be applied.
Implementations§
Source§impl PathChanges<'_>
impl PathChanges<'_>
Auto Trait Implementations§
impl<'a> Freeze for PathChanges<'a>
impl<'a> RefUnwindSafe for PathChanges<'a>
impl<'a> Send for PathChanges<'a>
impl<'a> Sync for PathChanges<'a>
impl<'a> Unpin for PathChanges<'a>
impl<'a> !UnwindSafe for PathChanges<'a>
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