Struct CacheValue
pub struct CacheValue(/* private fields */);Expand description
A cache value payload.
Implementations§
§impl CacheValue
impl CacheValue
Trait Implementations§
§impl AsRef<str> for CacheValue
impl AsRef<str> for CacheValue
§impl Clone for CacheValue
impl Clone for CacheValue
§fn clone(&self) -> CacheValue
fn clone(&self) -> CacheValue
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 more§impl Debug for CacheValue
impl Debug for CacheValue
§impl Default for CacheValue
impl Default for CacheValue
§fn default() -> CacheValue
fn default() -> CacheValue
Returns the “default value” for a type. Read more
§impl Display for CacheValue
impl Display for CacheValue
§impl From<&str> for CacheValue
impl From<&str> for CacheValue
§fn from(value: &str) -> CacheValue
fn from(value: &str) -> CacheValue
Converts to this type from the input type.
§impl From<String> for CacheValue
impl From<String> for CacheValue
§fn from(value: String) -> CacheValue
fn from(value: String) -> CacheValue
Converts to this type from the input type.
§impl Hash for CacheValue
impl Hash for CacheValue
§impl Ord for CacheValue
impl Ord for CacheValue
§impl PartialEq for CacheValue
impl PartialEq for CacheValue
§impl PartialOrd for CacheValue
impl PartialOrd for CacheValue
impl Eq for CacheValue
impl StructuralPartialEq for CacheValue
Auto Trait Implementations§
impl Freeze for CacheValue
impl RefUnwindSafe for CacheValue
impl Send for CacheValue
impl Sync for CacheValue
impl Unpin for CacheValue
impl UnsafeUnpin for CacheValue
impl UnwindSafe for CacheValue
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