pub struct DepStatus {
pub name: String,
pub present: bool,
pub path: Option<PathBuf>,
pub install_hint: Option<String>,
}Expand description
Report for a single dependency.
Fields§
§name: StringDisplay name.
present: boolWhether it is present.
path: Option<PathBuf>Location on disk, when present.
install_hint: Option<String>Suggested fix command, when absent.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DepStatus
impl<'de> Deserialize<'de> for DepStatus
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
Auto Trait Implementations§
impl Freeze for DepStatus
impl RefUnwindSafe for DepStatus
impl Send for DepStatus
impl Sync for DepStatus
impl Unpin for DepStatus
impl UnsafeUnpin for DepStatus
impl UnwindSafe for DepStatus
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