pub struct IniContent { /* private fields */ }Expand description
INI configuration content.
Implementations§
Trait Implementations§
Source§impl Clone for IniContent
impl Clone for IniContent
Source§fn clone(&self) -> IniContent
fn clone(&self) -> IniContent
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 ConfigContent for IniContent
impl ConfigContent for IniContent
Source§fn insert(&mut self, key: &Key, value: &Value) -> ConfigResult<()>
fn insert(&mut self, key: &Key, value: &Value) -> ConfigResult<()>
Insert a new value at the specified key path. Read more
Source§fn update(&mut self, key: &Key, value: &Value) -> ConfigResult<()>
fn update(&mut self, key: &Key, value: &Value) -> ConfigResult<()>
Update an existing value at the specified key path. Read more
Source§fn delete(&mut self, key: &Key) -> ConfigResult<()>
fn delete(&mut self, key: &Key) -> ConfigResult<()>
Delete a value at the specified key path. Read more
Source§fn upsert(&mut self, key: &Key, value: &Value) -> ConfigResult<()>
fn upsert(&mut self, key: &Key, value: &Value) -> ConfigResult<()>
Upsert (insert or update) a value at the specified key path. Read more
Source§fn contains_key(&self, key: &Key) -> bool
fn contains_key(&self, key: &Key) -> bool
Check if a key exists.
Source§impl Debug for IniContent
impl Debug for IniContent
Source§impl Display for IniContent
impl Display for IniContent
Source§impl FromStr for IniContent
impl FromStr for IniContent
Source§impl PartialEq for IniContent
impl PartialEq for IniContent
Auto Trait Implementations§
impl Freeze for IniContent
impl RefUnwindSafe for IniContent
impl Send for IniContent
impl Sync for IniContent
impl Unpin for IniContent
impl UnsafeUnpin for IniContent
impl UnwindSafe for IniContent
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