pub struct CacheEntry {
pub did: IdentityDID,
pub sequence: u64,
pub validated_against_tip_said: Said,
pub last_commit_oid: CommitOid,
pub cached_at: DateTime<Utc>,
pub path: PathBuf,
}Expand description
Information about a cached entry for display purposes.
Fields§
§did: IdentityDIDThe DID this cache is for
sequence: u64Sequence number
validated_against_tip_said: SaidSAID the cache was validated against
last_commit_oid: CommitOidGit commit OID of the cached position
cached_at: DateTime<Utc>When the cache was created
path: PathBufPath to the cache file
Trait 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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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