pub struct AuthApiClient { /* private fields */ }Expand description
The generated client. Methods are grouped by the service handler module that answers them: api.connections().list(..).
Implementations§
Source§impl AuthApiClient
impl AuthApiClient
Sourcepub fn new(options: ApiClientOptions) -> Result<Self, ApiError>
pub fn new(options: ApiClientOptions) -> Result<Self, ApiError>
Build the client. The base URL must be https, or http to a loopback host.
Sourcepub fn with_options(&self, options: CallOptions) -> Self
pub fn with_options(&self, options: CallOptions) -> Self
The same client with per-call settings (timeout, extra headers, replacement credentials) applied to every call made through the returned value.
Trait Implementations§
Source§impl Clone for AuthApiClient
impl Clone for AuthApiClient
Source§fn clone(&self) -> AuthApiClient
fn clone(&self) -> AuthApiClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AuthApiClient
impl !RefUnwindSafe for AuthApiClient
impl Send for AuthApiClient
impl Sync for AuthApiClient
impl Unpin for AuthApiClient
impl UnsafeUnpin for AuthApiClient
impl !UnwindSafe for AuthApiClient
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