pub struct Configuration {
pub base_path: String,
pub user_agent: Option<String>,
pub client: Client,
pub aws_v4_key: Option<AWSv4Key>,
pub rdt: Option<RestrictedDataToken>,
pub auth: Option<AuthState>,
}
Fields
base_path: String
user_agent: Option<String>
client: Client
aws_v4_key: Option<AWSv4Key>
rdt: Option<RestrictedDataToken>
auth: Option<AuthState>
Implementations
impl Configuration
impl Configuration
pub fn new() -> Configuration
pub fn with_rdt(&self, token: String, expires_in_secs: u64) -> Configuration
Trait Implementations
impl Clone for Configuration
impl Clone for Configuration
fn clone(&self) -> Configuration
fn clone(&self) -> Configuration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Debug for Configuration
impl Debug for Configuration
impl Default for Configuration
impl Default for Configuration
fn default() -> Configuration
fn default() -> Configuration
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl !UnwindSafe for Configuration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more