pub struct ClientOptions {Show 13 fields
pub allow_insecure_loopback: bool,
pub assertion_lifetime: Duration,
pub clock: Option<Arc<dyn Clock>>,
pub command_transport: Option<Arc<dyn HttpTransport>>,
pub credential_store: Option<Arc<dyn CredentialStore>>,
pub delay: Option<Arc<dyn Delay>>,
pub identity_provider: Arc<dyn IdentityProvider>,
pub identity_store: Option<Arc<dyn IdentityStore>>,
pub idempotency_keys: Option<Arc<dyn IdempotencyKeyProvider>>,
pub inspect_cache: Option<Arc<dyn InspectCache>>,
pub inspect_transport: Option<Arc<dyn HttpTransport>>,
pub maximum_response_bytes: usize,
pub request_timeout: Duration,
}Fields§
§allow_insecure_loopback: bool§assertion_lifetime: Duration§clock: Option<Arc<dyn Clock>>§command_transport: Option<Arc<dyn HttpTransport>>§credential_store: Option<Arc<dyn CredentialStore>>§delay: Option<Arc<dyn Delay>>§identity_provider: Arc<dyn IdentityProvider>§identity_store: Option<Arc<dyn IdentityStore>>§idempotency_keys: Option<Arc<dyn IdempotencyKeyProvider>>§inspect_cache: Option<Arc<dyn InspectCache>>§inspect_transport: Option<Arc<dyn HttpTransport>>§maximum_response_bytes: usize§request_timeout: DurationImplementations§
Source§impl ClientOptions
impl ClientOptions
pub fn new(identity_provider: Arc<dyn IdentityProvider>) -> Self
Trait Implementations§
Source§impl Clone for ClientOptions
impl Clone for ClientOptions
Source§fn clone(&self) -> ClientOptions
fn clone(&self) -> ClientOptions
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 !RefUnwindSafe for ClientOptions
impl !UnwindSafe for ClientOptions
impl Freeze for ClientOptions
impl Send for ClientOptions
impl Sync for ClientOptions
impl Unpin for ClientOptions
impl UnsafeUnpin for ClientOptions
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