pub struct BlockingRequest { /* private fields */ }
Implementations§
Source§impl BlockingRequest
impl BlockingRequest
pub fn new(client: BlockingClient, method: Method) -> Self
pub fn builder(client: BlockingClient, method: Method) -> Self
pub fn send(self) -> BlockingResponseHandler
Trait Implementations§
Source§impl ClientixRequestBuilder for BlockingRequest
impl ClientixRequestBuilder for BlockingRequest
fn config(&mut self) -> &mut RequestConfig
fn result(&mut self) -> &mut ClientixResult<()>
fn path(self, path: &str) -> Selfwhere
Self: Sized,
fn query(self, key: &str, value: &str) -> Selfwhere
Self: Sized,
fn queries(self, queries: HashMap<String, String>) -> Selfwhere
Self: Sized,
fn header(self, key: &str, value: &str) -> Selfwhere
Self: Sized,
fn headers(self, headers: HashMap<String, String>) -> Selfwhere
Self: Sized,
fn basic_auth(self, username: &str, password: &str) -> Selfwhere
Self: Sized,
fn bearer_auth(self, token: &str) -> Selfwhere
Self: Sized,
fn body<T: Serialize>(self, body: T, content_type: ContentType) -> Selfwhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for BlockingRequest
impl !RefUnwindSafe for BlockingRequest
impl Send for BlockingRequest
impl Sync for BlockingRequest
impl Unpin for BlockingRequest
impl !UnwindSafe for BlockingRequest
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