pub struct CacheEntry {
pub root_id: String,
pub status: String,
pub algorithm_version: u32,
pub computed_at: String,
}Expand description
A cached root resolution for one clip: the O(1) album lookup, kept monotonic.
Fields§
§root_id: String§status: String"resolved", or a slug of the terminal status ("external", …).
algorithm_version: u32§computed_at: StringTrait Implementations§
Source§impl Clone for CacheEntry
impl Clone for CacheEntry
Source§fn clone(&self) -> CacheEntry
fn clone(&self) -> CacheEntry
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§impl Debug for CacheEntry
impl Debug for CacheEntry
Source§impl Default for CacheEntry
impl Default for CacheEntry
Source§fn default() -> CacheEntry
fn default() -> CacheEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CacheEntrywhere
CacheEntry: Default,
impl<'de> Deserialize<'de> for CacheEntrywhere
CacheEntry: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CacheEntry
impl PartialEq for CacheEntry
Source§fn eq(&self, other: &CacheEntry) -> bool
fn eq(&self, other: &CacheEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CacheEntry
impl Serialize for CacheEntry
impl StructuralPartialEq for CacheEntry
Auto Trait Implementations§
impl Freeze for CacheEntry
impl RefUnwindSafe for CacheEntry
impl Send for CacheEntry
impl Sync for CacheEntry
impl Unpin for CacheEntry
impl UnsafeUnpin for CacheEntry
impl UnwindSafe for CacheEntry
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