pub enum ViewMode {
IdsOnly,
Preview {
length: usize,
},
Full,
Metadata,
Adaptive {
interest_threshold: f32,
},
}Expand description
How much detail to show in traversal results.
Variants§
IdsOnly
Just block IDs and structure.
Preview
Structure with short previews (first N characters).
Full
Full content for blocks in view.
Metadata
Metadata only (semantic role, tags, edge counts).
Adaptive
Adaptive - auto-select based on relevance.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ViewMode
impl<'de> Deserialize<'de> for ViewMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ViewMode
Auto Trait Implementations§
impl Freeze for ViewMode
impl RefUnwindSafe for ViewMode
impl Send for ViewMode
impl Sync for ViewMode
impl Unpin for ViewMode
impl UnwindSafe for ViewMode
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