pub struct ProductOSResponse<DRes: Body> { /* private fields */ }
Implementations§
Source§impl<DRes: Body> ProductOSResponse<DRes>
impl<DRes: Body> ProductOSResponse<DRes>
pub fn new<D>(r: DRes, url: String) -> Self
pub fn parts(self) -> (Parts, DRes)
pub fn status(&self) -> StatusCode
pub fn status_code(&self) -> u16
pub fn get_headers(&self) -> BTreeMap<String, String>
pub fn response_url(&self) -> String
Auto Trait Implementations§
impl<DRes> Freeze for ProductOSResponse<DRes>where
DRes: Freeze,
impl<DRes> !RefUnwindSafe for ProductOSResponse<DRes>
impl<DRes> Send for ProductOSResponse<DRes>where
DRes: Send,
impl<DRes> Sync for ProductOSResponse<DRes>where
DRes: Sync,
impl<DRes> Unpin for ProductOSResponse<DRes>where
DRes: Unpin,
impl<DRes> !UnwindSafe for ProductOSResponse<DRes>
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