pub struct ConfigProfile {
pub name: String,
pub values: HashMap<String, ConfigValue>,
pub dirty: bool,
}Expand description
A named configuration profile containing a map of key→value entries.
Fields§
§name: StringName of this profile.
values: HashMap<String, ConfigValue>Key → value store.
dirty: boolWhether this profile has unsaved changes.
Trait Implementations§
Source§impl Clone for ConfigProfile
impl Clone for ConfigProfile
Source§fn clone(&self) -> ConfigProfile
fn clone(&self) -> ConfigProfile
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 moreAuto Trait Implementations§
impl Freeze for ConfigProfile
impl RefUnwindSafe for ConfigProfile
impl Send for ConfigProfile
impl Sync for ConfigProfile
impl Unpin for ConfigProfile
impl UnsafeUnpin for ConfigProfile
impl UnwindSafe for ConfigProfile
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