/// Get a mutable reference to this request's path.
/// **Note:** they can only be modified if the request was created from scratch or cloned.
Get a mutable reference to this request's path.
Note:** they can only be modified if the request was created from scratch or cloned.
Get a mutable reference to this request ' s path . Note : ** they can only be modified if the request was created from scratch or cloned .
pub fn path_mut(&mut self) -> Result<&mut String> {
        if self.immutable {
            return Err(Error::JsError(
                "Cannot get a mutable reference to an immutable path.".into(),
            ));
        }
        Ok(&mut self.path)
    }
pub fn path_mut ( & mut self ) -> Result < & mut String > { if self . immutable { return Err ( Error :: JsError ( " " . into ( ) , ) ) ; } Ok ( & mut self . path ) }
Get a mutable reference to this request's path.
Get a mutable reference to this request ' s path .
&mut self