pub struct MarketplaceHealth {
pub name: String,
pub source: String,
pub available: usize,
pub load_error: Option<String>,
pub install_location: PathBuf,
pub drifted: bool,
}Expand description
One marketplace’s on-disk health for the Extensions page.
Fields§
§name: String§source: String§available: usizePlugin count in the marketplace’s manifest; 0 when it cannot load.
load_error: Option<String>Why the marketplace could not load: no clone recorded on disk, no manifest found in the clone, a manifest that cannot be read or cannot be parsed, or the registry error carried onto every clone row.
install_location: PathBuf§drifted: boolThe registry’s installLocation sits outside the config dir.
Trait Implementations§
Source§impl Clone for MarketplaceHealth
impl Clone for MarketplaceHealth
Source§impl Debug for MarketplaceHealth
impl Debug for MarketplaceHealth
Source§impl Default for MarketplaceHealth
impl Default for MarketplaceHealth
Source§impl<'de> Deserialize<'de> for MarketplaceHealth
impl<'de> Deserialize<'de> for MarketplaceHealth
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 MarketplaceHealth
Source§impl PartialEq for MarketplaceHealth
impl PartialEq for MarketplaceHealth
Source§impl Serialize for MarketplaceHealth
impl Serialize for MarketplaceHealth
impl StructuralPartialEq for MarketplaceHealth
Auto Trait Implementations§
impl Freeze for MarketplaceHealth
impl RefUnwindSafe for MarketplaceHealth
impl Send for MarketplaceHealth
impl Sync for MarketplaceHealth
impl Unpin for MarketplaceHealth
impl UnsafeUnpin for MarketplaceHealth
impl UnwindSafe for MarketplaceHealth
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.