pub struct FileReport {
pub path: String,
pub kind: Kind,
pub status: Status,
pub rule: &'static str,
pub reason: String,
pub reasons: Vec<&'static str>,
pub findings: Vec<GateFinding>,
pub attempts: usize,
pub weave: &'static str,
pub sha256: Option<String>,
pub landed: Landed,
}Expand description
One file’s line in the report.
Fields§
§path: String§kind: Kind§status: Status§rule: &'static strcertificate | elem_union | present | gate | resolver |
no-resolver | not-text | keys.
reason: StringOne sentence.
reasons: Vec<&'static str>The gate’s reasons (empty unless the gate ran and failed).
findings: Vec<GateFinding>§attempts: usizeResolver calls made (0, 1 or 2).
weave: &'static strWhat weave’s merge did: clean | conflicted | not-run.
sha256: Option<String>sha256 of the bytes landed (PROVEN / VERIFIED file), else null.
landed: LandedTrait Implementations§
Source§impl Clone for FileReport
impl Clone for FileReport
Source§impl Debug for FileReport
impl Debug for FileReport
Auto Trait Implementations§
impl Freeze for FileReport
impl RefUnwindSafe for FileReport
impl Send for FileReport
impl Sync for FileReport
impl Unpin for FileReport
impl UnsafeUnpin for FileReport
impl UnwindSafe for FileReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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