pub struct Options {
pub base_url: String,
pub ca_file: Option<PathBuf>,
pub credentials: Option<(String, String)>,
pub allow_loopback_http: bool,
}Expand description
Credentials are explicit, never read implicitly by the library or included in Debug output.
Fields§
§base_url: String§ca_file: Option<PathBuf>§credentials: Option<(String, String)>§allow_loopback_http: boolTest-only literal IPv4/IPv6 loopback. Credentials still require HTTPS.
Auto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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