pub struct SliceCandidate {
pub hash: String,
pub original: Vec<u8>,
pub data_json: String,
}Expand description
A cache entry with its original bytes and the served form (JSON
CompressedContent), as returned by SessionStore::recent_originals.
Fields§
§hash: String§original: Vec<u8>§data_json: StringTrait Implementations§
Source§impl Clone for SliceCandidate
impl Clone for SliceCandidate
Source§fn clone(&self) -> SliceCandidate
fn clone(&self) -> SliceCandidate
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 moreAuto Trait Implementations§
impl Freeze for SliceCandidate
impl RefUnwindSafe for SliceCandidate
impl Send for SliceCandidate
impl Sync for SliceCandidate
impl Unpin for SliceCandidate
impl UnsafeUnpin for SliceCandidate
impl UnwindSafe for SliceCandidate
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