#[non_exhaustive]pub struct GraphRun {
pub state: GraphState,
pub last: Vec<String>,
pub usage: Usage,
pub elapsed: Duration,
}Expand description
A graph run, whole or (in a GraphError) partial.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.state: GraphStateWhat the run did.
last: Vec<String>The nodes of the last batch that finished, in order.
usage: UsageThe model tokens the nodes that finished spent.
elapsed: DurationHow long the run took.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for GraphRun
impl Freeze for GraphRun
impl Move for GraphRun
impl RefUnwindSafe for GraphRun
impl Send for GraphRun
impl Sync for GraphRun
impl Unpin for GraphRun
impl UnsafeUnpin for GraphRun
impl UnwindSafe for GraphRun
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