pub struct GraphView<'a> {
pub version: u32,
pub repo_path: &'a Path,
pub selection: &'a Selection,
pub artifacts: BTreeMap<&'a ArtifactName, &'a Artifact>,
pub evals: Vec<&'a Eval>,
pub relations: Vec<GraphRelation<'a>>,
pub components: Vec<GraphComponent<'a>>,
pub environment: BTreeMap<&'a str, Option<&'a str>>,
}Fields§
§version: u32§repo_path: &'a Path§selection: &'a Selection§artifacts: BTreeMap<&'a ArtifactName, &'a Artifact>§evals: Vec<&'a Eval>§relations: Vec<GraphRelation<'a>>§components: Vec<GraphComponent<'a>>§environment: BTreeMap<&'a str, Option<&'a str>>The environment variables the project’s profiles read, each with its value (null
while unset); a Run’s saved graph records the branch every Agent eval ran with.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for GraphView<'a>
impl<'a> Freeze for GraphView<'a>where
&'a Path: Freeze,
&'a Selection: Freeze,
*const LeafNode<&'a ArtifactName, &'a Artifact> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(&'a ArtifactName, &'a Artifact)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<&'a Eval>: Freeze,
PhantomData<GraphRelation<'a>>: Freeze,
PhantomData<GraphComponent<'a>>: Freeze,
*const LeafNode<&'a str, Option<&'a str>> is !null: Freeze,
PhantomData<Box<(&'a str, Option<&'a str>)>>: Freeze,
impl<'a> Move for GraphView<'a>
impl<'a> RefUnwindSafe for GraphView<'a>where
Atomic<usize>: RefUnwindSafe,
Pool<Cache, Box<dyn Fn() -> Cache + Sync + RefUnwindSafe + Send + UnwindSafe>>: RefUnwindSafe,
Pool<PatternSet, Box<dyn Fn() -> PatternSet + Sync + RefUnwindSafe + Send + UnwindSafe>>: RefUnwindSafe,
Pool<Vec<usize>, fn() -> Vec<usize>>: RefUnwindSafe,
impl<'a> Send for GraphView<'a>where
&'a Path: Send,
&'a Selection: Send,
NodeRef<Owned, &'a ArtifactName, &'a Artifact, LeafOrInternal>: Send,
BoxRaw<(&'a ArtifactName, &'a Artifact)>: Send,
RawVecInner: Send,
&'a Eval: Send,
&'a Relation: Send,
&'a ArtifactName: Send,
&'a EvalId: Send,
NodeRef<Owned, &'a str, Option<&'a str>, LeafOrInternal>: Send,
BoxRaw<(&'a str, Option<&'a str>)>: Send,
impl<'a> Sync for GraphView<'a>where
RawVecInner: Sync,
NodeRef<Owned, &'a ArtifactName, &'a Artifact, LeafOrInternal>: Sync,
BoxRaw<(&'a ArtifactName, &'a Artifact)>: Sync,
NodeRef<Owned, ReferenceName, ArtifactName, LeafOrInternal>: Sync,
BoxRaw<(ReferenceName, ArtifactName)>: Sync,
NodeRef<Owned, &'a str, Option<&'a str>, LeafOrInternal>: Sync,
BoxRaw<(&'a str, Option<&'a str>)>: Sync,
impl<'a> Unpin for GraphView<'a>where
&'a Path: Unpin,
&'a Selection: Unpin,
*const LeafNode<&'a ArtifactName, &'a Artifact> is !null: Unpin,
Box<(&'a ArtifactName, &'a Artifact)>: Unpin,
*const u8 is !null: Unpin,
&'a Eval: Unpin,
&'a Relation: Unpin,
&'a ArtifactName: Unpin,
&'a EvalId: Unpin,
*const LeafNode<&'a str, Option<&'a str>> is !null: Unpin,
Box<(&'a str, Option<&'a str>)>: Unpin,
impl<'a> UnsafeUnpin for GraphView<'a>where
&'a Path: UnsafeUnpin,
&'a Selection: UnsafeUnpin,
*const LeafNode<&'a ArtifactName, &'a Artifact> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(&'a ArtifactName, &'a Artifact)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<&'a Eval>: UnsafeUnpin,
PhantomData<GraphRelation<'a>>: UnsafeUnpin,
PhantomData<GraphComponent<'a>>: UnsafeUnpin,
*const LeafNode<&'a str, Option<&'a str>> is !null: UnsafeUnpin,
PhantomData<Box<(&'a str, Option<&'a str>)>>: UnsafeUnpin,
impl<'a> UnwindSafe for GraphView<'a>where
&'a Path: UnwindSafe,
&'a Selection: UnwindSafe,
BTreeMap<&'a ArtifactName, &'a Artifact>: UnwindSafe,
RawVecInner: UnwindSafe,
&'a Eval: UnwindSafe,
&'a Relation: UnwindSafe,
&'a ArtifactName: UnwindSafe,
&'a EvalId: UnwindSafe,
BTreeMap<&'a str, Option<&'a str>>: UnwindSafe,
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.