pub struct InstalledRef {
pub id: ModelId,
pub exact: bool,
}Expand description
An already-installed model matching a catalog entry.
Fields§
§id: ModelIdThe registry model.
exact: boolTrue for an exact source match (same repo and file); false for a best-effort “similar model” match (same size class, or family name).
Trait Implementations§
Source§impl Clone for InstalledRef
impl Clone for InstalledRef
Source§fn clone(&self) -> InstalledRef
fn clone(&self) -> InstalledRef
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 InstalledRef
impl Debug for InstalledRef
Source§impl PartialEq for InstalledRef
impl PartialEq for InstalledRef
Source§impl Serialize for InstalledRef
impl Serialize for InstalledRef
impl StructuralPartialEq for InstalledRef
Auto Trait Implementations§
impl Freeze for InstalledRef
impl RefUnwindSafe for InstalledRef
impl Send for InstalledRef
impl Sync for InstalledRef
impl Unpin for InstalledRef
impl UnsafeUnpin for InstalledRef
impl UnwindSafe for InstalledRef
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