pub struct ConfigDefault {
pub key: Config,
pub value: &'static str,
}
Expand description
Pair of key and value for default configuration.
Fields§
§key: Config
Configuration variable name.
value: &'static str
Configuration variable value.
Trait Implementations§
source§impl Debug for ConfigDefault
impl Debug for ConfigDefault
source§impl PartialEq for ConfigDefault
impl PartialEq for ConfigDefault
impl Eq for ConfigDefault
impl StructuralPartialEq for ConfigDefault
Auto Trait Implementations§
impl Freeze for ConfigDefault
impl RefUnwindSafe for ConfigDefault
impl Send for ConfigDefault
impl Sync for ConfigDefault
impl Unpin for ConfigDefault
impl UnwindSafe for ConfigDefault
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.