pub struct LegacyKey {
pub key: String,
pub line: usize,
pub suggestion: String,
}Expand description
A single legacy key detected in raw TOML.
Fields§
§key: StringThe top-level TOML key that is no longer valid.
line: usize1-based line number of the first occurrence of the key. Best-effort — derived from a line scan over the raw TOML rather than the parser’s span info, which would couple us to the toml crate version.
suggestion: StringHuman-readable migration suggestion.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LegacyKey
impl RefUnwindSafe for LegacyKey
impl Send for LegacyKey
impl Sync for LegacyKey
impl Unpin for LegacyKey
impl UnsafeUnpin for LegacyKey
impl UnwindSafe for LegacyKey
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