pub struct DirectiveSource {
pub directive: String,
pub file: PathBuf,
pub line: u32,
}Expand description
Provenance for one resolved directive — which file and line it came
from. Used by the gitway diag line (NFR-24) and gitway config show to attribute each value back to its source.
Fields§
§directive: StringLower-cased directive keyword (identityfile, port, …).
file: PathBufThe source file the directive was read from (post-Include).
line: u321-indexed line number within file.
Trait Implementations§
Source§impl Clone for DirectiveSource
impl Clone for DirectiveSource
Source§fn clone(&self) -> DirectiveSource
fn clone(&self) -> DirectiveSource
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 DirectiveSource
impl RefUnwindSafe for DirectiveSource
impl Send for DirectiveSource
impl Sync for DirectiveSource
impl Unpin for DirectiveSource
impl UnsafeUnpin for DirectiveSource
impl UnwindSafe for DirectiveSource
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