pub struct Uri { /* private fields */ }Implementations§
Source§impl Uri
impl Uri
pub fn path(&self) -> &str
pub fn new_path(path: impl ToString) -> Uri
pub fn set_path(&mut self, path: impl ToString)
pub fn parse_param(&mut self, item: &str) -> Result<(), RlsError>
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 len(&self) -> usize
pub fn clear_params(&mut self)
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 UnsafeUnpin 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