pub enum ResolutionSourceProvenance {
LockedModelFile {
source_role: ModelArtifactSourceRole,
relative_path: String,
},
Upstream {
producer_id: String,
producer_version: ContractVersion,
producer_implementation_fingerprint: ResolutionFingerprint,
revision: String,
artifact_locator: String,
},
}Expand description
Externally anchored origin of resolution source bytes. A source is either one exact file from the locked model snapshot or an explicitly identified upstream producer. There is no unstructured locator variant.
Variants§
LockedModelFile
Upstream
Implementations§
Trait Implementations§
Source§impl Clone for ResolutionSourceProvenance
impl Clone for ResolutionSourceProvenance
Source§fn clone(&self) -> ResolutionSourceProvenance
fn clone(&self) -> ResolutionSourceProvenance
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 ResolutionSourceProvenance
impl Debug for ResolutionSourceProvenance
Source§impl<'de> Deserialize<'de> for ResolutionSourceProvenance
impl<'de> Deserialize<'de> for ResolutionSourceProvenance
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
impl Eq for ResolutionSourceProvenance
impl StructuralPartialEq for ResolutionSourceProvenance
Auto Trait Implementations§
impl Freeze for ResolutionSourceProvenance
impl RefUnwindSafe for ResolutionSourceProvenance
impl Send for ResolutionSourceProvenance
impl Sync for ResolutionSourceProvenance
impl Unpin for ResolutionSourceProvenance
impl UnsafeUnpin for ResolutionSourceProvenance
impl UnwindSafe for ResolutionSourceProvenance
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