pub struct InstalledArtifact {
pub name: String,
pub version: String,
pub path: PathBuf,
pub note: Option<String>,
}Expand description
An installed artifact on disk.
Fields§
§name: StringArtifact name.
version: StringArtifact version.
path: PathBufInstalled path.
note: Option<String>Optional note.
Trait Implementations§
Source§impl Clone for InstalledArtifact
impl Clone for InstalledArtifact
Source§fn clone(&self) -> InstalledArtifact
fn clone(&self) -> InstalledArtifact
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 InstalledArtifact
impl Debug for InstalledArtifact
Source§impl<'de> Deserialize<'de> for InstalledArtifact
impl<'de> Deserialize<'de> for InstalledArtifact
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 InstalledArtifact
Source§impl PartialEq for InstalledArtifact
impl PartialEq for InstalledArtifact
Source§fn eq(&self, other: &InstalledArtifact) -> bool
fn eq(&self, other: &InstalledArtifact) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InstalledArtifact
impl Serialize for InstalledArtifact
impl StructuralPartialEq for InstalledArtifact
Auto Trait Implementations§
impl Freeze for InstalledArtifact
impl RefUnwindSafe for InstalledArtifact
impl Send for InstalledArtifact
impl Sync for InstalledArtifact
impl Unpin for InstalledArtifact
impl UnsafeUnpin for InstalledArtifact
impl UnwindSafe for InstalledArtifact
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