pub struct NamedClient { /* private fields */ }Expand description
Bound to a named config ([default.http.payments]).
Implementations§
Source§impl NamedClient
impl NamedClient
pub fn get(&self, path: impl Into<String>) -> PendingRequest
pub fn post(&self, path: impl Into<String>) -> PendingRequest
pub fn put(&self, path: impl Into<String>) -> PendingRequest
pub fn patch(&self, path: impl Into<String>) -> PendingRequest
pub fn delete(&self, path: impl Into<String>) -> PendingRequest
pub fn request(&self, method: Method, path: impl Into<String>) -> PendingRequest
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for NamedClient
impl !UnwindSafe for NamedClient
impl Freeze for NamedClient
impl Send for NamedClient
impl Sync for NamedClient
impl Unpin for NamedClient
impl UnsafeUnpin for NamedClient
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