pub struct RunSummary {
pub run_id: String,
pub started_at: String,
pub prompt: String,
pub author: ActorId,
pub adapter: String,
pub repository: String,
pub reviewer: Option<ActorId>,
pub outcome: Option<Outcome>,
pub checks_passed: usize,
pub checks_total: usize,
pub usage: Vec<TokenUsage>,
}Expand description
One run, as much of it as its record can say.
Fields§
§run_id: String§started_at: String§prompt: String§adapter: String§repository: StringWhich repository the change was made in.
reviewer: Option<ActorId>§outcome: Option<Outcome>§checks_passed: usize§checks_total: usize§usage: Vec<TokenUsage>What each adapter in this run reported spending.
Implementations§
Trait Implementations§
Source§impl Clone for RunSummary
impl Clone for RunSummary
Source§fn clone(&self) -> RunSummary
fn clone(&self) -> RunSummary
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 moreAuto Trait Implementations§
impl Freeze for RunSummary
impl RefUnwindSafe for RunSummary
impl Send for RunSummary
impl Sync for RunSummary
impl Unpin for RunSummary
impl UnsafeUnpin for RunSummary
impl UnwindSafe for RunSummary
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