pub struct ClientResponse<'response, MethodState, PathState, StautState, AuthorizationState, ContentTypeState, ContentState> { /* private fields */ }
Implementations§
Source§impl<'reesponse> ClientResponse<'reesponse, MethodNotPresent, PathNotPresent, HostNotPresent, AuthorizationNotPresent, ContentTypeNotPresent, ContentNotPresent>
impl<'reesponse> ClientResponse<'reesponse, MethodNotPresent, PathNotPresent, HostNotPresent, AuthorizationNotPresent, ContentTypeNotPresent, ContentNotPresent>
pub fn new() -> Self
pub fn method( self, method: &'reesponse str, ) -> ClientResponse<'reesponse, MethodPresent, PathNotPresent, HostNotPresent, AuthorizationNotPresent, ContentTypeNotPresent, ContentNotPresent>
Source§impl<'response> ClientResponse<'response, MethodPresent, PathNotPresent, HostNotPresent, AuthorizationNotPresent, ContentTypeNotPresent, ContentNotPresent>
impl<'response> ClientResponse<'response, MethodPresent, PathNotPresent, HostNotPresent, AuthorizationNotPresent, ContentTypeNotPresent, ContentNotPresent>
pub fn path( self, path: &'response str, ) -> ClientResponse<'response, MethodPresent, PathPresent, HostNotPresent, AuthorizationNotPresent, ContentTypeNotPresent, ContentNotPresent>
Source§impl<'response> ClientResponse<'response, MethodPresent, PathPresent, HostNotPresent, AuthorizationNotPresent, ContentTypeNotPresent, ContentNotPresent>
impl<'response> ClientResponse<'response, MethodPresent, PathPresent, HostNotPresent, AuthorizationNotPresent, ContentTypeNotPresent, ContentNotPresent>
pub fn host( self, host: &'response str, ) -> ClientResponse<'response, MethodPresent, PathPresent, HostPresent, AuthorizationNotPresent, ContentTypeNotPresent, ContentNotPresent>
Source§impl<'response> ClientResponse<'response, MethodPresent, PathPresent, HostPresent, AuthorizationNotPresent, ContentTypeNotPresent, ContentNotPresent>
impl<'response> ClientResponse<'response, MethodPresent, PathPresent, HostPresent, AuthorizationNotPresent, ContentTypeNotPresent, ContentNotPresent>
Source§impl<'response> ClientResponse<'response, MethodPresent, PathPresent, HostPresent, AuthorizationPresent, ContentTypeNotPresent, ContentNotPresent>
impl<'response> ClientResponse<'response, MethodPresent, PathPresent, HostPresent, AuthorizationPresent, ContentTypeNotPresent, ContentNotPresent>
pub fn content_type( self, content_type: ContentType, ) -> ClientResponse<'response, MethodPresent, PathPresent, HostPresent, AuthorizationPresent, ContentTypePresent, ContentNotPresent>
Source§impl<'response> ClientResponse<'response, MethodPresent, PathPresent, HostPresent, AuthorizationPresent, ContentTypePresent, ContentNotPresent>
impl<'response> ClientResponse<'response, MethodPresent, PathPresent, HostPresent, AuthorizationPresent, ContentTypePresent, ContentNotPresent>
pub fn content( self, content: &'response str, ) -> ClientResponse<'response, MethodPresent, PathPresent, HostPresent, AuthorizationPresent, ContentTypePresent, ContentPresent>
Source§impl<'response> ClientResponse<'response, MethodPresent, PathPresent, HostPresent, AuthorizationPresent, ContentTypePresent, ContentPresent>
impl<'response> ClientResponse<'response, MethodPresent, PathPresent, HostPresent, AuthorizationPresent, ContentTypePresent, ContentPresent>
Auto Trait Implementations§
impl<'response, MethodState, PathState, StautState, AuthorizationState, ContentTypeState, ContentState> Freeze for ClientResponse<'response, MethodState, PathState, StautState, AuthorizationState, ContentTypeState, ContentState>
impl<'response, MethodState, PathState, StautState, AuthorizationState, ContentTypeState, ContentState> RefUnwindSafe for ClientResponse<'response, MethodState, PathState, StautState, AuthorizationState, ContentTypeState, ContentState>where
MethodState: RefUnwindSafe,
PathState: RefUnwindSafe,
StautState: RefUnwindSafe,
AuthorizationState: RefUnwindSafe,
ContentTypeState: RefUnwindSafe,
ContentState: RefUnwindSafe,
impl<'response, MethodState, PathState, StautState, AuthorizationState, ContentTypeState, ContentState> Send for ClientResponse<'response, MethodState, PathState, StautState, AuthorizationState, ContentTypeState, ContentState>
impl<'response, MethodState, PathState, StautState, AuthorizationState, ContentTypeState, ContentState> Sync for ClientResponse<'response, MethodState, PathState, StautState, AuthorizationState, ContentTypeState, ContentState>
impl<'response, MethodState, PathState, StautState, AuthorizationState, ContentTypeState, ContentState> Unpin for ClientResponse<'response, MethodState, PathState, StautState, AuthorizationState, ContentTypeState, ContentState>
impl<'response, MethodState, PathState, StautState, AuthorizationState, ContentTypeState, ContentState> UnwindSafe for ClientResponse<'response, MethodState, PathState, StautState, AuthorizationState, ContentTypeState, ContentState>where
MethodState: UnwindSafe,
PathState: UnwindSafe,
StautState: UnwindSafe,
AuthorizationState: UnwindSafe,
ContentTypeState: UnwindSafe,
ContentState: 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