pub struct FetchedModule {
pub module_id: String,
pub version: String,
pub digest_sha256: String,
pub path: PathBuf,
pub bytes: u64,
pub source: ArtifactSource,
}Expand description
The result of a successful ModuleFeed::fetch_and_verify call —
core returns models, never prints (Phase 16’s --json renders this).
Fields§
§module_id: StringThe ModuleSpec::id this artifact belongs to.
version: StringThe requested version string.
digest_sha256: StringFull lowercase hex sha256 digest of the artifact bytes.
path: PathBufPath to the verified .modl file on disk.
bytes: u64Artifact size in bytes.
source: ArtifactSourceWhether this call hit the cache or downloaded fresh.
Trait Implementations§
Source§impl Clone for FetchedModule
impl Clone for FetchedModule
Source§impl Debug for FetchedModule
impl Debug for FetchedModule
Auto Trait Implementations§
impl Freeze for FetchedModule
impl RefUnwindSafe for FetchedModule
impl Send for FetchedModule
impl Sync for FetchedModule
impl Unpin for FetchedModule
impl UnsafeUnpin for FetchedModule
impl UnwindSafe for FetchedModule
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