pub struct VerifyReport {
pub item_ref: String,
pub url: String,
pub comment: CommentRef,
pub verdict: Verdict,
pub reasons: Vec<String>,
pub coverage: Option<f64>,
pub sources: Vec<SourceReport>,
pub statements: Vec<VerifiedStatement>,
pub models: ReportModels,
pub usage: ReportUsage,
}Expand description
The result of verifying one decision comment.
Fields§
§item_ref: StringThe judged issue, as owner/repo#N.
url: StringThe issue’s web URL.
comment: CommentRefThe comment that was checked.
verdict: VerdictThe overall verdict.
reasons: Vec<String>Why the verdict is what it is; empty for a clean accepted.
coverage: Option<f64>The coverage check’s probability, or None if it could not be run.
sources: Vec<SourceReport>Every source that was checked against.
statements: Vec<VerifiedStatement>Every statement the comment was split into.
models: ReportModelsThe models that answered.
usage: ReportUsageToken usage.
Trait Implementations§
Source§impl Clone for VerifyReport
impl Clone for VerifyReport
Source§impl Debug for VerifyReport
impl Debug for VerifyReport
Auto Trait Implementations§
impl Freeze for VerifyReport
impl RefUnwindSafe for VerifyReport
impl Send for VerifyReport
impl Sync for VerifyReport
impl Unpin for VerifyReport
impl UnsafeUnpin for VerifyReport
impl UnwindSafe for VerifyReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more