pub struct ResolvedAuditBase {
pub git_ref: String,
pub description: Option<String>,
pub inherited_refs: Vec<String>,
}Expand description
Resolved base ref for changed-code audit.
Fields§
§git_ref: StringGit ref or SHA used for comparison.
description: Option<String>Human-readable source of the resolved ref.
inherited_refs: Vec<String>Commits of the remote default branch that the change merged after
git_ref. A finding that one of them has is inherited, not
introduced. Only an auto-detected base has them.
Trait Implementations§
Source§impl Clone for ResolvedAuditBase
impl Clone for ResolvedAuditBase
Auto Trait Implementations§
impl Freeze for ResolvedAuditBase
impl RefUnwindSafe for ResolvedAuditBase
impl Send for ResolvedAuditBase
impl Sync for ResolvedAuditBase
impl Unpin for ResolvedAuditBase
impl UnsafeUnpin for ResolvedAuditBase
impl UnwindSafe for ResolvedAuditBase
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