pub struct Realm {
pub name: String,
pub enabled: bool,
pub native: Value,
}Expand description
A realm: the top-level configuration container.
Fields§
§name: StringThe realm’s identity key: its name.
enabled: boolWhether the realm is active.
native: ValueBackend-faithful representation of this realm and its settings.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Realm
impl<'de> Deserialize<'de> for Realm
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
impl StructuralPartialEq for Realm
Auto Trait Implementations§
impl Freeze for Realm
impl RefUnwindSafe for Realm
impl Send for Realm
impl Sync for Realm
impl Unpin for Realm
impl UnsafeUnpin for Realm
impl UnwindSafe for Realm
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