pub struct PluginShareContext {
pub creator_account_user_id: Option<String>,
pub creator_name: Option<String>,
pub discoverability: Option<PluginShareDiscoverability>,
pub remote_plugin_id: String,
pub remote_version: Option<String>,
pub share_principals: Option<Vec<PluginSharePrincipal>>,
pub share_url: Option<String>,
}Expand description
PluginShareContext
JSON schema
{
"type": "object",
"required": [
"remotePluginId"
],
"properties": {
"creatorAccountUserId": {
"type": [
"string",
"null"
]
},
"creatorName": {
"type": [
"string",
"null"
]
},
"discoverability": {
"anyOf": [
{
"$ref": "#/definitions/PluginShareDiscoverability"
},
{
"type": "null"
}
]
},
"remotePluginId": {
"type": "string"
},
"remoteVersion": {
"description": "Version of the remote shared plugin release when available.",
"default": null,
"type": [
"string",
"null"
]
},
"sharePrincipals": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/PluginSharePrincipal"
}
},
"shareUrl": {
"type": [
"string",
"null"
]
}
}
}Fields§
§creator_account_user_id: Option<String>§creator_name: Option<String>§discoverability: Option<PluginShareDiscoverability>§remote_plugin_id: String§remote_version: Option<String>Version of the remote shared plugin release when available.
Trait Implementations§
Source§fn clone(&self) -> PluginShareContext
fn clone(&self) -> PluginShareContext
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§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§
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