pub struct CachedCatalog {
pub sha256_hex: String,
}Expand description
One entry in ToolCatalogCache. Production only needs the pre-computed
SHA-256 digest of the in-order joined catalog.
Fields§
§sha256_hex: StringSHA-256 hex digest of the newline-joined, in-order tool-catalog JSON.
Trait Implementations§
Source§impl Clone for CachedCatalog
impl Clone for CachedCatalog
Source§fn clone(&self) -> CachedCatalog
fn clone(&self) -> CachedCatalog
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 CachedCatalog
impl RefUnwindSafe for CachedCatalog
impl Send for CachedCatalog
impl Sync for CachedCatalog
impl Unpin for CachedCatalog
impl UnsafeUnpin for CachedCatalog
impl UnwindSafe for CachedCatalog
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