Struct x509_client::X509ClientConfiguration
source · pub struct X509ClientConfiguration {
pub strict: bool,
pub files: bool,
pub limit: Option<usize>,
pub http_client: Option<Client>,
}
Expand description
X509 Client Configuration
Fields§
§strict: bool
If true, only attempt parse once. Use either filename extension or http header to determine type. If false, attempt to parse from all known formats before returning error.
files: bool
If true, allow File
transport scheme.
If false, transport attempts will fail for File
scheme.
limit: Option<usize>
Limits max transfer size in bytes. If None, apply no limit.
http_client: Option<Client>
Optional Reqwest client. If None, a default Reqwest client will be instantiated.
Trait Implementations§
source§impl Clone for X509ClientConfiguration
impl Clone for X509ClientConfiguration
source§fn clone(&self) -> X509ClientConfiguration
fn clone(&self) -> X509ClientConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for X509ClientConfiguration
impl Default for X509ClientConfiguration
source§fn default() -> X509ClientConfiguration
fn default() -> X509ClientConfiguration
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for X509ClientConfiguration
impl Send for X509ClientConfiguration
impl Sync for X509ClientConfiguration
impl Unpin for X509ClientConfiguration
impl !UnwindSafe for X509ClientConfiguration
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