pub struct PluginSummary {Show 15 fields
pub auth_policy: PluginAuthPolicy,
pub availability: PluginAvailability,
pub enabled: bool,
pub id: String,
pub install_policy: PluginInstallPolicy,
pub install_policy_source: Option<PluginInstallPolicySource>,
pub installed: bool,
pub interface: Option<PluginInterface>,
pub keywords: Vec<String>,
pub local_version: Option<String>,
pub name: String,
pub remote_plugin_id: Option<String>,
pub share_context: Option<PluginShareContext>,
pub source: PluginSource,
pub version: Option<String>,
}Expand description
PluginSummary
JSON schema
{
"type": "object",
"required": [
"authPolicy",
"enabled",
"id",
"installPolicy",
"installed",
"name",
"source"
],
"properties": {
"authPolicy": {
"$ref": "#/definitions/PluginAuthPolicy"
},
"availability": {
"description": "Availability state for installing and using the plugin.",
"default": "AVAILABLE",
"allOf": [
{
"$ref": "#/definitions/PluginAvailability"
}
]
},
"enabled": {
"type": "boolean"
},
"id": {
"type": "string"
},
"installPolicy": {
"$ref": "#/definitions/PluginInstallPolicy"
},
"installPolicySource": {
"anyOf": [
{
"$ref": "#/definitions/PluginInstallPolicySource"
},
{
"type": "null"
}
]
},
"installed": {
"type": "boolean"
},
"interface": {
"anyOf": [
{
"$ref": "#/definitions/PluginInterface"
},
{
"type": "null"
}
]
},
"keywords": {
"default": [],
"type": "array",
"items": {
"type": "string"
}
},
"localVersion": {
"description": "Version of the locally materialized plugin package when available.",
"default": null,
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"remotePluginId": {
"description": "Backend remote plugin identifier when available.",
"type": [
"string",
"null"
]
},
"shareContext": {
"description": "Remote sharing context associated with this plugin when available.",
"anyOf": [
{
"$ref": "#/definitions/PluginShareContext"
},
{
"type": "null"
}
]
},
"source": {
"$ref": "#/definitions/PluginSource"
},
"version": {
"description": "Version advertised by the remote marketplace backend when available.",
"default": null,
"type": [
"string",
"null"
]
}
}
}Fields§
§auth_policy: PluginAuthPolicy§availability: PluginAvailabilityAvailability state for installing and using the plugin.
enabled: bool§id: String§install_policy: PluginInstallPolicy§install_policy_source: Option<PluginInstallPolicySource>§installed: bool§interface: Option<PluginInterface>§keywords: Vec<String>§local_version: Option<String>Version of the locally materialized plugin package when available.
name: String§remote_plugin_id: Option<String>Backend remote plugin identifier when available.
Remote sharing context associated with this plugin when available.
source: PluginSource§version: Option<String>Version advertised by the remote marketplace backend when available.
Trait Implementations§
Source§impl Clone for PluginSummary
impl Clone for PluginSummary
Source§fn clone(&self) -> PluginSummary
fn clone(&self) -> PluginSummary
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 PluginSummary
impl Debug for PluginSummary
Source§impl<'de> Deserialize<'de> for PluginSummary
impl<'de> Deserialize<'de> for PluginSummary
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 PluginSummary
impl RefUnwindSafe for PluginSummary
impl Send for PluginSummary
impl Sync for PluginSummary
impl Unpin for PluginSummary
impl UnsafeUnpin for PluginSummary
impl UnwindSafe for PluginSummary
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