pub struct ModuleDigestChangedDetails {
pub module: String,
pub version: String,
pub cached_digest: String,
pub upstream_digest: String,
pub cached_path: String,
}Expand description
Payload of CoreError::ModuleDigestChanged, boxed to keep
CoreError under clippy’s result_large_err threshold.
Fields§
§module: StringThe crate::module::ModuleSpec::id being fetched.
version: StringThe requested version string.
cached_digest: StringThe digest of the artifact already cached for this version.
upstream_digest: StringThe digest the feed currently publishes for this version.
cached_path: StringPath of the untouched, still-usable cached artifact.
Trait Implementations§
Source§impl Clone for ModuleDigestChangedDetails
impl Clone for ModuleDigestChangedDetails
Source§impl Debug for ModuleDigestChangedDetails
impl Debug for ModuleDigestChangedDetails
Source§impl Display for ModuleDigestChangedDetails
impl Display for ModuleDigestChangedDetails
impl Eq for ModuleDigestChangedDetails
impl StructuralPartialEq for ModuleDigestChangedDetails
Auto Trait Implementations§
impl Forget for ModuleDigestChangedDetails
impl Freeze for ModuleDigestChangedDetails
impl Move for ModuleDigestChangedDetails
impl RefUnwindSafe for ModuleDigestChangedDetails
impl Send for ModuleDigestChangedDetails
impl Sync for ModuleDigestChangedDetails
impl Unpin for ModuleDigestChangedDetails
impl UnsafeUnpin for ModuleDigestChangedDetails
impl UnwindSafe for ModuleDigestChangedDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.