pub struct CacheValue {
pub unix_timestamp_milli: u64,
pub cmd: CacheRepoKeyCmd,
pub diagnostics: OutputData,
}Fields§
§unix_timestamp_milli: u64§cmd: CacheRepoKeyCmd§diagnostics: OutputDataTrait Implementations§
Source§impl Debug for CacheValue
impl Debug for CacheValue
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for CacheValuewhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for CacheValuewhere
__A: Allocator,
Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'__de, __A> Decode<'__de, Text, __A> for CacheValuewhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for CacheValuewhere
__A: Allocator,
Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl Encode<Binary> for CacheValue
impl Encode<Binary> for CacheValue
Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§type Encode = CacheValue
type Encode = CacheValue
The underlying type being encoded. Read more
Source§impl Encode<Text> for CacheValue
impl Encode<Text> for CacheValue
Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§type Encode = CacheValue
type Encode = CacheValue
The underlying type being encoded. Read more
Source§impl Value for CacheValue
impl Value for CacheValue
Source§type SelfType<'a> = CacheValue
where
Self: 'a
type SelfType<'a> = CacheValue where Self: 'a
SelfType<'a> must be the same type as Self with all lifetimes replaced with ’atype AsBytes<'a> = Vec<u8> where Self: 'a
Source§fn fixed_width() -> Option<usize>
fn fixed_width() -> Option<usize>
Width of a fixed type, or None for variable width
Source§fn from_bytes<'a>(data: &'a [u8]) -> Self::SelfType<'a>where
Self: 'a,
fn from_bytes<'a>(data: &'a [u8]) -> Self::SelfType<'a>where
Self: 'a,
Deserializes data
Implementations may return a view over data, or an owned type
Auto Trait Implementations§
impl Freeze for CacheValue
impl RefUnwindSafe for CacheValue
impl Send for CacheValue
impl Sync for CacheValue
impl Unpin 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