pub struct OptionInfo {
pub section: &'static str,
pub key: String,
pub default: String,
}Expand description
One option the parser accepts, with the value it takes when unset.
Fields§
§section: &'static str§key: String§default: StringTrait Implementations§
Source§impl Clone for OptionInfo
impl Clone for OptionInfo
Source§fn clone(&self) -> OptionInfo
fn clone(&self) -> OptionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OptionInfo
impl RefUnwindSafe for OptionInfo
impl Send for OptionInfo
impl Sync for OptionInfo
impl Unpin for OptionInfo
impl UnsafeUnpin for OptionInfo
impl UnwindSafe for OptionInfo
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