pub struct CustomPluginOperationsConfig {
pub approval: HashMap<String, OperationApproval>,
pub name: String,
pub settings: HashMap<String, OperationSettingValue>,
pub version: String,
}Expand description
A published custom plugin at an exact version.
JSON schema
{
"description": "A published custom plugin at an exact version.",
"allOf": [
{
"$ref": "#/components/schemas/PluginOperationsConfig"
},
{
"type": "object",
"required": [
"name",
"version"
],
"properties": {
"name": {
"description": "Plugin name as published.",
"type": "string"
},
"version": {
"description": "Exact published version.",
"type": "string"
}
}
}
]
}Fields§
§approval: HashMap<String, OperationApproval>Approval rule per operation: an operation name, or * for all of them.
Operations no rule matches need approval.
name: StringPlugin name as published.
settings: HashMap<String, OperationSettingValue>Values for the settings the plugin’s manifest declares.
version: StringExact published version.
Implementations§
Trait Implementations§
Source§impl Clone for CustomPluginOperationsConfig
impl Clone for CustomPluginOperationsConfig
Source§impl Debug for CustomPluginOperationsConfig
impl Debug for CustomPluginOperationsConfig
Source§impl<'de> Deserialize<'de> for CustomPluginOperationsConfig
impl<'de> Deserialize<'de> for CustomPluginOperationsConfig
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
Source§impl From<&CustomPluginOperationsConfig> for CustomPluginOperationsConfig
impl From<&CustomPluginOperationsConfig> for CustomPluginOperationsConfig
Source§fn from(value: &CustomPluginOperationsConfig) -> Self
fn from(value: &CustomPluginOperationsConfig) -> Self
Converts to this type from the input type.
Source§impl From<CustomPluginOperationsConfig> for CustomPluginOperationsConfig
impl From<CustomPluginOperationsConfig> for CustomPluginOperationsConfig
Source§fn from(value: CustomPluginOperationsConfig) -> Self
fn from(value: CustomPluginOperationsConfig) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CustomPluginOperationsConfig> for CustomPluginOperationsConfig
impl TryFrom<CustomPluginOperationsConfig> for CustomPluginOperationsConfig
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: CustomPluginOperationsConfig,
) -> Result<Self, ConversionError>
fn try_from( value: CustomPluginOperationsConfig, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CustomPluginOperationsConfig
impl RefUnwindSafe for CustomPluginOperationsConfig
impl Send for CustomPluginOperationsConfig
impl Sync for CustomPluginOperationsConfig
impl Unpin for CustomPluginOperationsConfig
impl UnsafeUnpin for CustomPluginOperationsConfig
impl UnwindSafe for CustomPluginOperationsConfig
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