pub struct SharedCacheEntryInspection { /* private fields */ }Expand description
Read-only inspection facts for an existing shared thumbnail repository entry.
Implementations§
Sourcepub const fn outcome(&self) -> &SharedCacheEntryOutcome
pub const fn outcome(&self) -> &SharedCacheEntryOutcome
Returns the shared validation or inspection outcome.
Returns the shared relative URI used for hashing and metadata comparison.
Sourcepub const fn timestamps(&self) -> &ThumbnailTimestamps
pub const fn timestamps(&self) -> &ThumbnailTimestamps
Returns timestamp facts.
Sourcepub const fn size(&self) -> ThumbnailSize
pub const fn size(&self) -> ThumbnailSize
Returns the successful-thumbnail size namespace.
Sourcepub const fn metadata(&self) -> Option<&ThumbnailMetadata>
pub const fn metadata(&self) -> Option<&ThumbnailMetadata>
Returns parsed metadata when the entry was a readable PNG.
Sourcepub fn into_parts(self) -> SharedCacheEntryInspectionParts
pub fn into_parts(self) -> SharedCacheEntryInspectionParts
Splits this inspection into its owned facts.
Trait Implementations§
Source§fn clone(&self) -> SharedCacheEntryInspection
fn clone(&self) -> SharedCacheEntryInspection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn eq(&self, other: &SharedCacheEntryInspection) -> bool
fn eq(&self, other: &SharedCacheEntryInspection) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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> 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