pub struct FileInspection {Show 17 fields
pub requested_revision: String,
pub commit: Option<String>,
pub commit_verification: &'static str,
pub root_tree: Option<String>,
pub path: String,
pub tree: Option<String>,
pub blob: Option<String>,
pub mode: Option<FileMode>,
pub declared_size: Option<u64>,
pub verified_size: Option<u64>,
pub verified_trees: usize,
pub proof_scope: FileInspectionProofScope,
pub status: InspectionStatus,
pub reason: Option<String>,
pub max_bytes: u64,
pub content_sha256: Option<String>,
pub storage: Option<StorageRepresentation>,
}Fields§
§requested_revision: String§commit: Option<String>§commit_verification: &'static str§root_tree: Option<String>§path: String§tree: Option<String>§blob: Option<String>§mode: Option<FileMode>§declared_size: Option<u64>§verified_size: Option<u64>§verified_trees: usize§proof_scope: FileInspectionProofScope§status: InspectionStatus§reason: Option<String>§max_bytes: u64§content_sha256: Option<String>SHA-256 of the verified logical bytes (never codec bytes). Present
only when status is verified; the Oak identity remains blob.
storage: Option<StorageRepresentation>How the local store holds this blob — codec and stored byte length.
Separate from logical identity: declared_size/verified_size and
blob always describe decoded logical bytes.
Trait Implementations§
Source§impl Debug for FileInspection
impl Debug for FileInspection
Auto Trait Implementations§
impl Forget for FileInspection
impl Freeze for FileInspection
impl Move for FileInspection
impl RefUnwindSafe for FileInspection
impl Send for FileInspection
impl Sync for FileInspection
impl Unpin for FileInspection
impl UnsafeUnpin for FileInspection
impl UnwindSafe for FileInspection
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