pub struct PluginMarketplaceEntry {
pub interface: Option<MarketplaceInterface>,
pub name: String,
pub path: Option<AbsolutePathBuf>,
pub plugins: Vec<PluginSummary>,
}Expand description
PluginMarketplaceEntry
JSON schema
{
"type": "object",
"required": [
"name",
"plugins"
],
"properties": {
"interface": {
"anyOf": [
{
"$ref": "#/definitions/MarketplaceInterface"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"path": {
"description": "Local marketplace file path when the marketplace is backed by a local file. Remote-only catalog marketplaces do not have a local path.",
"anyOf": [
{
"$ref": "#/definitions/AbsolutePathBuf"
},
{
"type": "null"
}
]
},
"plugins": {
"type": "array",
"items": {
"$ref": "#/definitions/PluginSummary"
}
}
}
}Fields§
§interface: Option<MarketplaceInterface>§name: String§path: Option<AbsolutePathBuf>Local marketplace file path when the marketplace is backed by a local file. Remote-only catalog marketplaces do not have a local path.
plugins: Vec<PluginSummary>Trait Implementations§
Source§impl Clone for PluginMarketplaceEntry
impl Clone for PluginMarketplaceEntry
Source§fn clone(&self) -> PluginMarketplaceEntry
fn clone(&self) -> PluginMarketplaceEntry
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 PluginMarketplaceEntry
impl Debug for PluginMarketplaceEntry
Source§impl<'de> Deserialize<'de> for PluginMarketplaceEntry
impl<'de> Deserialize<'de> for PluginMarketplaceEntry
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 PluginMarketplaceEntry
impl RefUnwindSafe for PluginMarketplaceEntry
impl Send for PluginMarketplaceEntry
impl Sync for PluginMarketplaceEntry
impl Unpin for PluginMarketplaceEntry
impl UnsafeUnpin for PluginMarketplaceEntry
impl UnwindSafe for PluginMarketplaceEntry
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