pub struct ReportedOperation {
pub name: String,
pub plugin: String,
pub plugin_version: String,
}Expand description
A single operation the Operator currently has loaded. Opaque identifiers only — no tier, description, or other plugin business logic crosses into this public crate.
JSON schema
{
"description": "A single operation the Operator currently has loaded. Opaque identifiers\nonly — no tier, description, or other plugin business logic crosses into\nthis public crate.",
"type": "object",
"required": [
"name",
"plugin",
"pluginVersion"
],
"properties": {
"name": {
"description": "Name of the operation within the plugin.",
"type": "string"
},
"plugin": {
"description": "Name of the plugin that owns this operation.",
"type": "string"
},
"pluginVersion": {
"description": "Version of the plugin that owns this operation.",
"type": "string"
}
}
}Fields§
§name: StringName of the operation within the plugin.
plugin: StringName of the plugin that owns this operation.
plugin_version: StringVersion of the plugin that owns this operation.
Implementations§
Source§impl ReportedOperation
impl ReportedOperation
pub fn builder() -> ReportedOperation
Trait Implementations§
Source§impl Clone for ReportedOperation
impl Clone for ReportedOperation
Source§fn clone(&self) -> ReportedOperation
fn clone(&self) -> ReportedOperation
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 ReportedOperation
impl Debug for ReportedOperation
Source§impl<'de> Deserialize<'de> for ReportedOperation
impl<'de> Deserialize<'de> for ReportedOperation
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<&ReportedOperation> for ReportedOperation
impl From<&ReportedOperation> for ReportedOperation
Source§fn from(value: &ReportedOperation) -> Self
fn from(value: &ReportedOperation) -> Self
Converts to this type from the input type.
Source§impl From<ReportedOperation> for ReportedOperation
impl From<ReportedOperation> for ReportedOperation
Source§fn from(value: ReportedOperation) -> Self
fn from(value: ReportedOperation) -> Self
Converts to this type from the input type.
Source§impl Serialize for ReportedOperation
impl Serialize for ReportedOperation
Source§impl TryFrom<ReportedOperation> for ReportedOperation
impl TryFrom<ReportedOperation> for ReportedOperation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ReportedOperation) -> Result<Self, ConversionError>
fn try_from(value: ReportedOperation) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ReportedOperation
impl RefUnwindSafe for ReportedOperation
impl Send for ReportedOperation
impl Sync for ReportedOperation
impl Unpin for ReportedOperation
impl UnsafeUnpin for ReportedOperation
impl UnwindSafe for ReportedOperation
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