#[non_exhaustive]pub struct CacheEntryInspectionParts {
pub outcome: CacheEntryInspectionOutcome,
pub original_uri: Option<OriginalUriIdentity>,
pub metadata: Option<ThumbnailMetadata>,
pub timestamps: ThumbnailTimestamps,
pub namespace: CacheNamespace,
pub path: PathBuf,
pub handle: CacheEntryHandle,
}Expand description
Owned parts of CacheEntryInspection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.outcome: CacheEntryInspectionOutcomeValidation or inspection outcome.
original_uri: Option<OriginalUriIdentity>Original URI parsed from metadata when present and valid.
metadata: Option<ThumbnailMetadata>Parsed metadata when the entry was a readable PNG.
timestamps: ThumbnailTimestampsTimestamp facts.
namespace: CacheNamespaceCache namespace.
path: PathBufInspected cache path.
handle: CacheEntryHandleSafe-removal handle for the inspected cache entry.
Trait Implementations§
Source§impl Debug for CacheEntryInspectionParts
impl Debug for CacheEntryInspectionParts
Source§impl PartialEq for CacheEntryInspectionParts
impl PartialEq for CacheEntryInspectionParts
Source§fn eq(&self, other: &CacheEntryInspectionParts) -> bool
fn eq(&self, other: &CacheEntryInspectionParts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CacheEntryInspectionParts
impl StructuralPartialEq for CacheEntryInspectionParts
Auto Trait Implementations§
impl Freeze for CacheEntryInspectionParts
impl RefUnwindSafe for CacheEntryInspectionParts
impl Send for CacheEntryInspectionParts
impl Sync for CacheEntryInspectionParts
impl Unpin for CacheEntryInspectionParts
impl UnsafeUnpin for CacheEntryInspectionParts
impl UnwindSafe for CacheEntryInspectionParts
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