pub struct Response { /* private fields */ }Implementations§
Source§impl Response
impl Response
pub fn new(response: impl Into<String>) -> Response
pub fn method(&self) -> &str
pub fn path(&self) -> &str
pub fn query(&self) -> QMap<&str, &str>
pub fn encoding_type(&self) -> Vec<&str>
pub fn content(&self) -> &str
pub fn token(&self) -> &str
pub fn header(&self) -> HMap<&str, &str>
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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