pub struct ManifestSource {
pub registry: String,
pub repo: String,
pub revision: String,
pub filename: String,
}Expand description
Diagnostic provenance metadata for a manifest. Not consulted at
runtime — the daemon trusts the SHA in Manifest::blob, not the
upstream registry.
Fields§
§registry: StringHostname the blob was downloaded from.
repo: StringRepo path on that host (e.g. unsloth/gemma-4-E4B-it-GGUF).
revision: StringBranch / tag / commit identifier.
filename: StringFilename in the upstream repo, for migration breadcrumbs.
Trait Implementations§
Source§impl Clone for ManifestSource
impl Clone for ManifestSource
Source§fn clone(&self) -> ManifestSource
fn clone(&self) -> ManifestSource
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 moreSource§impl Debug for ManifestSource
impl Debug for ManifestSource
Source§impl<'de> Deserialize<'de> for ManifestSource
impl<'de> Deserialize<'de> for ManifestSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ManifestSource
impl PartialEq for ManifestSource
Source§fn eq(&self, other: &ManifestSource) -> bool
fn eq(&self, other: &ManifestSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ManifestSource
impl Serialize for ManifestSource
impl Eq for ManifestSource
impl StructuralPartialEq for ManifestSource
Auto Trait Implementations§
impl Freeze for ManifestSource
impl RefUnwindSafe for ManifestSource
impl Send for ManifestSource
impl Sync for ManifestSource
impl Unpin for ManifestSource
impl UnsafeUnpin for ManifestSource
impl UnwindSafe for ManifestSource
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