pub struct Loaded {
pub found: bool,
pub applied: Vec<String>,
pub overridden: Vec<String>,
pub repeated: Vec<String>,
pub skipped: Vec<usize>,
}Expand description
What the load did. Names are owned: the report outlives the file’s content.
Default is exactly the missing-file report: nothing found, nothing applied.
Fields§
§found: boolThe file was read. False means it was absent or unreadable, which is not an error.
applied: Vec<String>Variables this load set, in file order.
overridden: Vec<String>Declared by the file, not set: the process already carried the variable.
repeated: Vec<String>Declared more than once in the file; the later line lost to the earlier one.
skipped: Vec<usize>Line numbers, from 1, that were neither a pair nor a comment or blank — the same
numbers parse reports.
Trait Implementations§
impl Eq for Loaded
impl StructuralPartialEq for Loaded
Auto Trait Implementations§
impl Freeze for Loaded
impl RefUnwindSafe for Loaded
impl Send for Loaded
impl Sync for Loaded
impl Unpin for Loaded
impl UnsafeUnpin for Loaded
impl UnwindSafe for Loaded
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