pub enum PackSource {
Artifact(PackArtifactSource),
Git(PackGitSource),
}Expand description
Where an installed pack came from.
Variants§
Artifact(PackArtifactSource)
A .tuffpack file, pulled from an OCI registry when registry is set.
Git(PackGitSource)
A repository holding a tuff-pack.toml, at one commit.
Implementations§
Trait Implementations§
Source§impl Clone for PackSource
impl Clone for PackSource
Source§impl Debug for PackSource
impl Debug for PackSource
Source§impl<'de> Deserialize<'de> for PackSource
impl<'de> Deserialize<'de> for PackSource
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 PackSource
Source§impl PartialEq for PackSource
impl PartialEq for PackSource
Source§impl Serialize for PackSource
impl Serialize for PackSource
impl StructuralPartialEq for PackSource
Auto Trait Implementations§
impl Forget for PackSource
impl Freeze for PackSource
impl Move for PackSource
impl RefUnwindSafe for PackSource
impl Send for PackSourcewhere
RawVecInner: Send,
impl Sync for PackSourcewhere
RawVecInner: Sync,
impl Unpin for PackSource
impl UnsafeUnpin for PackSource
impl UnwindSafe for PackSourcewhere
RawVecInner: UnwindSafe,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.