pub struct Config {
pub credentials: Credentials,
pub region: String,
pub account_id: String,
pub domain: String,
pub endpoints: BTreeMap<String, String>,
pub token_url: Option<String>,
pub timeout: Duration,
pub max_attempts: u8,
pub base_delay: Duration,
pub max_delay: Duration,
}Expand description
Explicit configuration. Environment variables are read only by from_env.
Fields§
§credentials: Credentials§region: String§account_id: String§domain: String§endpoints: BTreeMap<String, String>§token_url: Option<String>§timeout: Duration§max_attempts: u8§base_delay: Duration§max_delay: DurationImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Config
impl !UnwindSafe for Config
impl Freeze for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
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