pub struct ImportResult {
pub sessions_found: usize,
pub facts_extracted: usize,
pub files_touched: usize,
pub errors: Vec<String>,
pub facts: Vec<KnowledgeFact>,
pub facts_skipped: usize,
pub sources_skipped: usize,
pub sources_refused: usize,
pub repo_scope: Option<RepoScope>,
}Fields§
§sessions_found: usize§facts_extracted: usize§files_touched: usize§errors: Vec<String>§facts: Vec<KnowledgeFact>Facts remain available to the CLI until it either persists or displays them.
facts_skipped: usizeFacts that were found but not kept: admission withholds their value or permits it for a reader only (E3). A count — the values are gone.
sources_skipped: usizeHistory sources that were found but not read to the end: above the total cap of their kind, holding one record above the per-record bound, or not readable. Never read in part.
sources_refused: usizeHistory sources that were not opened or not used: outside every named root, withheld by a path rule, the policy or the gateway, or changed between their verification and the read.
repo_scope: Option<RepoScope>What a repository-source run read (import docs): facts of a file
it read that were not found again lost their section.
Implementations§
Source§impl ImportResult
impl ImportResult
Trait Implementations§
Source§impl Clone for ImportResult
impl Clone for ImportResult
Source§impl Debug for ImportResult
impl Debug for ImportResult
Auto Trait Implementations§
impl Forget for ImportResult
impl Freeze for ImportResult
impl Move for ImportResult
impl RefUnwindSafe for ImportResult
impl Send for ImportResult
impl Sync for ImportResult
impl Unpin for ImportResult
impl UnsafeUnpin for ImportResult
impl UnwindSafe for ImportResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more