#[non_exhaustive]pub struct TlsSection {
pub root_ca: Option<PathBuf>,
}Expand description
Trust settings for an https:// registry.
deserializer:
avro:
registry:
url: https://registry.internal:8081
tls:
root_ca: /etc/spate/registry-ca.pemConstruct with TlsSection::default and set the fields. The struct is
#[non_exhaustive] so new knobs can be added without breaking callers.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.root_ca: Option<PathBuf>PEM bundle of root CAs trusted in addition to the system trust store.
Requires an https:// URL.
Trait Implementations§
Source§impl Clone for TlsSection
impl Clone for TlsSection
Source§impl Debug for TlsSection
impl Debug for TlsSection
Source§impl Default for TlsSection
impl Default for TlsSection
Source§impl<'de> Deserialize<'de> for TlsSection
impl<'de> Deserialize<'de> for TlsSection
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
Source§impl PartialEq for TlsSection
impl PartialEq for TlsSection
impl StructuralPartialEq for TlsSection
Auto Trait Implementations§
impl Freeze for TlsSection
impl RefUnwindSafe for TlsSection
impl Send for TlsSection
impl Sync for TlsSection
impl Unpin for TlsSection
impl UnsafeUnpin for TlsSection
impl UnwindSafe for TlsSection
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