pub struct Uri { /* private fields */ }Implementations§
Source§impl Uri
impl Uri
pub fn new() -> Uri
pub fn value(&self) -> &str
pub fn insert_param(&mut self, name: impl ToString, value: impl ToString)
pub fn remove_param(&mut self, name: impl ToString) -> Option<String>
pub fn params(&self) -> &Vec<Param>
pub fn params_mut(&mut self) -> &mut Vec<Param>
pub fn clear_params(&mut self)
pub fn without_param(&self) -> &str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Uri
impl RefUnwindSafe for Uri
impl Send for Uri
impl Sync for Uri
impl Unpin for Uri
impl UnwindSafe for Uri
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