pub struct ShowOptions {
pub with_entities: Option<usize>,
}Expand description
Opt-in decorations on show. Kept separate from LoadSourceOptions so the
CLI surface can grow show-specific knobs (e.g. truncating long chunks)
without leaking into the lower-level export loader.
Fields§
§with_entities: Option<usize>When Some(n) with n > 0, populate each chunk’s entities field
with up to n extracted entities so callers can inspect chunk-level
knowledge-graph evidence next to the chunk text. None / Some(0)
preserves the default flat output.
Trait Implementations§
Source§impl Clone for ShowOptions
impl Clone for ShowOptions
Source§fn clone(&self) -> ShowOptions
fn clone(&self) -> ShowOptions
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 moreimpl Copy for ShowOptions
Source§impl Debug for ShowOptions
impl Debug for ShowOptions
Source§impl Default for ShowOptions
impl Default for ShowOptions
Source§fn default() -> ShowOptions
fn default() -> ShowOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShowOptions
impl RefUnwindSafe for ShowOptions
impl Send for ShowOptions
impl Sync for ShowOptions
impl Unpin for ShowOptions
impl UnsafeUnpin for ShowOptions
impl UnwindSafe for ShowOptions
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