#[non_exhaustive]pub struct TrustConfig {
pub cas_configs: Vec<CertificateAuthorityServiceConfig>,
/* private fields */
}Expand description
Sources of CA certificates to install in the broker’s truststore.
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.cas_configs: Vec<CertificateAuthorityServiceConfig>Optional. Configuration for the Google Certificate Authority Service. Maximum 10.
Implementations§
Source§impl TrustConfig
impl TrustConfig
pub fn new() -> Self
Sourcepub fn set_cas_configs<T, V>(self, v: T) -> Self
pub fn set_cas_configs<T, V>(self, v: T) -> Self
Sets the value of cas_configs.
Trait Implementations§
Source§impl Clone for TrustConfig
impl Clone for TrustConfig
Source§fn clone(&self) -> TrustConfig
fn clone(&self) -> TrustConfig
Returns a duplicate 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 Debug for TrustConfig
impl Debug for TrustConfig
Source§impl Default for TrustConfig
impl Default for TrustConfig
Source§fn default() -> TrustConfig
fn default() -> TrustConfig
Returns the “default value” for a type. Read more
Source§impl Message for TrustConfig
impl Message for TrustConfig
Source§impl PartialEq for TrustConfig
impl PartialEq for TrustConfig
impl StructuralPartialEq for TrustConfig
Auto Trait Implementations§
impl Freeze for TrustConfig
impl RefUnwindSafe for TrustConfig
impl Send for TrustConfig
impl Sync for TrustConfig
impl Unpin for TrustConfig
impl UnwindSafe for TrustConfig
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