pub struct OptionalEncryptionConfig {
pub allowed_modes: EnumSet<EncryptionMode>,
}Fields§
§allowed_modes: EnumSet<EncryptionMode>Implementations§
Source§impl OptionalEncryptionConfig
impl OptionalEncryptionConfig
pub fn reconfigure(self, reconfiguration: EncryptionReconfiguration) -> Self
pub fn merge(self, basin_defaults: Self) -> EncryptionConfig
Trait Implementations§
Source§impl Clone for OptionalEncryptionConfig
impl Clone for OptionalEncryptionConfig
Source§fn clone(&self) -> OptionalEncryptionConfig
fn clone(&self) -> OptionalEncryptionConfig
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 OptionalEncryptionConfig
impl Debug for OptionalEncryptionConfig
Source§impl Default for OptionalEncryptionConfig
impl Default for OptionalEncryptionConfig
Source§fn default() -> OptionalEncryptionConfig
fn default() -> OptionalEncryptionConfig
Returns the “default value” for a type. Read more
Source§impl From<EncryptionConfig> for OptionalEncryptionConfig
impl From<EncryptionConfig> for OptionalEncryptionConfig
Source§fn from(value: EncryptionConfig) -> Self
fn from(value: EncryptionConfig) -> Self
Converts to this type from the input type.
Source§impl From<OptionalEncryptionConfig> for EncryptionConfig
impl From<OptionalEncryptionConfig> for EncryptionConfig
Source§fn from(value: OptionalEncryptionConfig) -> Self
fn from(value: OptionalEncryptionConfig) -> Self
Converts to this type from the input type.
Source§impl From<OptionalEncryptionConfig> for EncryptionReconfiguration
impl From<OptionalEncryptionConfig> for EncryptionReconfiguration
Source§fn from(value: OptionalEncryptionConfig) -> Self
fn from(value: OptionalEncryptionConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OptionalEncryptionConfig
impl RefUnwindSafe for OptionalEncryptionConfig
impl Send for OptionalEncryptionConfig
impl Sync for OptionalEncryptionConfig
impl Unpin for OptionalEncryptionConfig
impl UnsafeUnpin for OptionalEncryptionConfig
impl UnwindSafe for OptionalEncryptionConfig
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