pub struct CacheKeyInfo {
pub url: String,
pub hash: String,
pub host: String,
pub filename: String,
pub cache_path: String,
}Expand description
Information about a cache key derived from a URL.
Fields§
§url: StringOriginal URL
hash: StringSHA256 hash prefix (8 characters)
host: StringHost name from URL
filename: StringOriginal filename from URL path
cache_path: StringRelative path within cache directory
Trait Implementations§
Source§impl Clone for CacheKeyInfo
impl Clone for CacheKeyInfo
Source§fn clone(&self) -> CacheKeyInfo
fn clone(&self) -> CacheKeyInfo
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 CacheKeyInfo
impl RefUnwindSafe for CacheKeyInfo
impl Send for CacheKeyInfo
impl Sync for CacheKeyInfo
impl Unpin for CacheKeyInfo
impl UnwindSafe for CacheKeyInfo
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