pub struct Section {
pub name: String,
pub key_values: HashMap<String, String>,
pub nested_sections: HashMap<String, Section>,
}Expand description
Represents a section in an INI file.
A section contains key-value pairs and can optionally have nested sections.
Fields§
§name: String§key_values: HashMap<String, String>§nested_sections: HashMap<String, Section>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnwindSafe for Section
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