pub struct TreeInspection {Show 17 fields
pub requested_revision: String,
pub commit: Option<String>,
pub commit_verification: &'static str,
pub root_tree: Option<String>,
pub status: InspectionStatus,
pub reason: Option<String>,
pub complete: bool,
pub truncated: bool,
pub truncation: Option<TreeTruncation>,
pub file_count: u64,
pub logical_bytes: u64,
pub verified_trees: usize,
pub order: &'static str,
pub max_files: u64,
pub max_bytes: u64,
pub proof_scope: FileInspectionProofScope,
pub files: Vec<TreeFileEvidence>,
}Fields§
§requested_revision: String§commit: Option<String>§commit_verification: &'static str§root_tree: Option<String>§status: InspectionStatusverified only when every listed tree and file verified. A budget
truncation alone leaves this verified; check complete.
reason: Option<String>§complete: boolTrue only when every path under the root was listed and verified.
truncated: bool§truncation: Option<TreeTruncation>§file_count: u64Files listed (verified or not).
logical_bytes: u64Sum of listed files’ verified logical sizes.
verified_trees: usize§order: &'static strListing order: depth-first by canonical entry name.
max_files: u64§max_bytes: u64§proof_scope: FileInspectionProofScope§files: Vec<TreeFileEvidence>Trait Implementations§
Source§impl Debug for TreeInspection
impl Debug for TreeInspection
Auto Trait Implementations§
impl Forget for TreeInspection
impl Freeze for TreeInspection
impl Move for TreeInspection
impl RefUnwindSafe for TreeInspection
impl Send for TreeInspection
impl Sync for TreeInspection
impl Unpin for TreeInspection
impl UnsafeUnpin for TreeInspection
impl UnwindSafe for TreeInspection
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> 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