pub struct UnknownKey {
pub table: String,
pub row: Option<usize>,
pub key: String,
pub hint: Option<String>,
}Expand description
A key in a config file that no part of Config reads.
Fields§
§table: StringDotted table path, "" at the top level, provider.route for an entry of
[[provider.route]].
row: Option<usize>Which entry of that array, when the key sits inside [[…]].
key: StringThe key as written.
hint: Option<String>Where the same key is read, when it is read somewhere. This is the answer to a key under the wrong table, which is the mistake that started this.
Trait Implementations§
Source§impl Clone for UnknownKey
impl Clone for UnknownKey
Source§impl Debug for UnknownKey
impl Debug for UnknownKey
Source§impl Display for UnknownKey
impl Display for UnknownKey
impl Eq for UnknownKey
Source§impl PartialEq for UnknownKey
impl PartialEq for UnknownKey
impl StructuralPartialEq for UnknownKey
Auto Trait Implementations§
impl Forget for UnknownKey
impl Freeze for UnknownKey
impl Move for UnknownKey
impl RefUnwindSafe for UnknownKey
impl Send for UnknownKeywhere
RawVecInner: Send,
impl Sync for UnknownKeywhere
RawVecInner: Sync,
impl Unpin for UnknownKey
impl UnsafeUnpin for UnknownKey
impl UnwindSafe for UnknownKeywhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.