pub struct GenerationOutput {
pub cards: Vec<KnowledgeCard>,
pub documents: Vec<WikiDocument>,
pub generation_stats: GenerationStats,
pub timings: GenerationTimings,
}Expand description
生成流水线的输出
Fields§
§cards: Vec<KnowledgeCard>§documents: Vec<WikiDocument>§generation_stats: GenerationStats§timings: GenerationTimingsv32 8.1:分块/卡片/Wiki 页三段的内部计时(毫秒)——上层 run_pipeline_with_progress 收集后落盘供 bench 回放剖析
Auto Trait Implementations§
impl Freeze for GenerationOutput
impl RefUnwindSafe for GenerationOutput
impl Send for GenerationOutput
impl Sync for GenerationOutput
impl Unpin for GenerationOutput
impl UnsafeUnpin for GenerationOutput
impl UnwindSafe for GenerationOutput
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> 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