pub struct OrbitCacheEntry {
pub value: Bytes,
pub epoch: u64,
pub expires_at_ms: Option<u64>,
}Expand description
Decoded cache entry returned by OrbitCache::get_entry.
Fields§
§value: Bytes§epoch: u64§expires_at_ms: Option<u64>Trait Implementations§
Source§impl Clone for OrbitCacheEntry
impl Clone for OrbitCacheEntry
Source§fn clone(&self) -> OrbitCacheEntry
fn clone(&self) -> OrbitCacheEntry
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 OrbitCacheEntry
impl Debug for OrbitCacheEntry
Source§impl PartialEq for OrbitCacheEntry
impl PartialEq for OrbitCacheEntry
Source§fn eq(&self, other: &OrbitCacheEntry) -> bool
fn eq(&self, other: &OrbitCacheEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OrbitCacheEntry
impl StructuralPartialEq for OrbitCacheEntry
Auto Trait Implementations§
impl !Freeze for OrbitCacheEntry
impl RefUnwindSafe for OrbitCacheEntry
impl Send for OrbitCacheEntry
impl Sync for OrbitCacheEntry
impl Unpin for OrbitCacheEntry
impl UnsafeUnpin for OrbitCacheEntry
impl UnwindSafe for OrbitCacheEntry
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