pub struct ImageCacheEntry {
pub path: String,
pub thumbnail_path: Option<String>,
pub features: Option<ImageFeatures>,
}Expand description
An image cache entry.
Fields§
§path: StringCanonicalized path as stored in the database.
thumbnail_path: Option<String>Thumbnail file path. None when not generated.
features: Option<ImageFeatures>Feature vectors. None when not registered.
Trait Implementations§
Source§impl Clone for ImageCacheEntry
impl Clone for ImageCacheEntry
Auto Trait Implementations§
impl Freeze for ImageCacheEntry
impl RefUnwindSafe for ImageCacheEntry
impl Send for ImageCacheEntry
impl Sync for ImageCacheEntry
impl Unpin for ImageCacheEntry
impl UnsafeUnpin for ImageCacheEntry
impl UnwindSafe for ImageCacheEntry
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