pub struct CryptConfig {
pub zones: BTreeMap<String, CryptZone>,
}Expand description
Top-level Crypt configuration. Holds the zone registry; per-member
wraps live on Member.crypt_wraps, per-item zone references live on
Item.crypt_zone. The default zone uses the conventional name
"default" and is auto-created on first joy crypt add.
Fields§
§zones: BTreeMap<String, CryptZone>Implementations§
Trait Implementations§
Source§impl Clone for CryptConfig
impl Clone for CryptConfig
Source§fn clone(&self) -> CryptConfig
fn clone(&self) -> CryptConfig
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 CryptConfig
impl Debug for CryptConfig
Source§impl Default for CryptConfig
impl Default for CryptConfig
Source§fn default() -> CryptConfig
fn default() -> CryptConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CryptConfig
impl<'de> Deserialize<'de> for CryptConfig
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 CryptConfig
impl PartialEq for CryptConfig
Source§impl Serialize for CryptConfig
impl Serialize for CryptConfig
impl StructuralPartialEq for CryptConfig
Auto Trait Implementations§
impl Freeze for CryptConfig
impl RefUnwindSafe for CryptConfig
impl Send for CryptConfig
impl Sync for CryptConfig
impl Unpin for CryptConfig
impl UnsafeUnpin for CryptConfig
impl UnwindSafe for CryptConfig
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