pub struct ExploreView {
pub focus: Option<Node>,
pub container: Option<Node>,
pub callees: Vec<Node>,
pub callers: Vec<Node>,
pub importers: Vec<Node>,
pub members: Vec<Node>,
pub dependents: usize,
pub by_repo: BTreeMap<String, usize>,
pub budget: usize,
pub pack: Vec<(Node, usize)>,
}Fields§
§focus: Option<Node>§container: Option<Node>§callees: Vec<Node>§callers: Vec<Node>§importers: Vec<Node>§members: Vec<Node>§dependents: usizeDependents within the blast radius, and how many per repo.
by_repo: BTreeMap<String, usize>§budget: usize§pack: Vec<(Node, usize)>The context pack: symbols to read with their estimated tokens.
Trait Implementations§
Source§impl Clone for ExploreView
impl Clone for ExploreView
Source§impl Debug for ExploreView
impl Debug for ExploreView
Source§impl<'de> Deserialize<'de> for ExploreView
impl<'de> Deserialize<'de> for ExploreView
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
Auto Trait Implementations§
impl Forget for ExploreView
impl Freeze for ExploreView
impl RefUnwindSafe for ExploreView
impl Send for ExploreView
impl Sync for ExploreView
impl Unpin for ExploreView
impl UnsafeUnpin for ExploreView
impl UnwindSafe for ExploreView
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