pub struct Configuration {
pub api_key: Option<String>,
pub organization: Option<String>,
pub base_path: String,
pub proxy: Option<String>,
pub timeout: Option<u64>,
pub ignore_ssl: Option<bool>,
}
Fields§
§api_key: Option<String>
§organization: Option<String>
§base_path: String
§proxy: Option<String>
§timeout: Option<u64>
§ignore_ssl: Option<bool>
Implementations§
Source§impl Configuration
impl Configuration
pub fn new(api_key: Option<String>, organization: Option<String>) -> Self
pub fn new_personal(api_key: String) -> Self
pub fn new_organization(api_key: String, organization: String) -> Self
pub fn base_path(self, base_path: String) -> Self
pub fn proxy(self, proxy: String) -> Self
pub fn timeout(self, timeout: u64) -> Self
pub fn ignore_ssl(self, ignore_ssl: bool) -> Self
pub fn apply_to_request( self, builder: ClientBuilder, path: String, method: Method, ) -> RequestBuilder
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Configuration
impl RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl UnwindSafe for Configuration
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