pub struct ScopedUpstreamCaCert {
pub pattern: String,
pub path: PathBuf,
}Expand description
A CA certificate PEM file trusted only for matching upstream hosts.
Fields§
§pattern: StringHost pattern this CA applies to. Supports exact hosts and *.suffix wildcards.
path: PathBufPath to the CA certificate PEM file.
Trait Implementations§
Source§impl Clone for ScopedUpstreamCaCert
impl Clone for ScopedUpstreamCaCert
Source§fn clone(&self) -> ScopedUpstreamCaCert
fn clone(&self) -> ScopedUpstreamCaCert
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScopedUpstreamCaCert
impl Debug for ScopedUpstreamCaCert
Source§impl<'de> Deserialize<'de> for ScopedUpstreamCaCert
impl<'de> Deserialize<'de> for ScopedUpstreamCaCert
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ScopedUpstreamCaCert
impl RefUnwindSafe for ScopedUpstreamCaCert
impl Send for ScopedUpstreamCaCert
impl Sync for ScopedUpstreamCaCert
impl Unpin for ScopedUpstreamCaCert
impl UnsafeUnpin for ScopedUpstreamCaCert
impl UnwindSafe for ScopedUpstreamCaCert
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