pub struct ConfigSection {
pub title: String,
pub entries: Vec<(String, String)>,
}Expand description
A rendered configuration section with key/value pairs.
Fields§
§title: StringHuman-readable section title.
entries: Vec<(String, String)>Rendered key/value entries for the section.
Trait Implementations§
Source§impl Clone for ConfigSection
impl Clone for ConfigSection
Source§fn clone(&self) -> ConfigSection
fn clone(&self) -> ConfigSection
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 ConfigSection
impl Debug for ConfigSection
Source§impl PartialEq for ConfigSection
impl PartialEq for ConfigSection
impl Eq for ConfigSection
impl StructuralPartialEq for ConfigSection
Auto Trait Implementations§
impl Freeze for ConfigSection
impl RefUnwindSafe for ConfigSection
impl Send for ConfigSection
impl Sync for ConfigSection
impl Unpin for ConfigSection
impl UnwindSafe for ConfigSection
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