Struct slack_chat_api::Response
source · pub struct Response<T> {
pub status: StatusCode,
pub headers: HeaderMap,
pub body: T,
}
Fields§
§status: StatusCode
§headers: HeaderMap
§body: T
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for Response<T>where T: RefUnwindSafe,
impl<T> Send for Response<T>where T: Send,
impl<T> Sync for Response<T>where T: Sync,
impl<T> Unpin for Response<T>where T: Unpin,
impl<T> UnwindSafe for Response<T>where T: UnwindSafe,
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