pub struct Value {
pub primary: String,
pub attributes: Vec<String>,
}Expand description
The type holding the primary value and the attributes; this is a nested type within OptionProperties.
Fields§
§primary: StringA string following the option and an ‘=’ sign in a configuration file. (e.g. “directory = /home/foo”)
attributes: Vec<String>A list separated by a delimiter, which is specified as a parameter in parse_file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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