pub struct PluginResult {
pub success: bool,
pub data: HashMap<String, String>,
pub metrics: ExecutionMetrics,
pub messages: Vec<String>,
}Expand description
Plugin execution result
Fields§
§success: bool§data: HashMap<String, String>§metrics: ExecutionMetrics§messages: Vec<String>Trait Implementations§
Source§impl Clone for PluginResult
impl Clone for PluginResult
Source§fn clone(&self) -> PluginResult
fn clone(&self) -> PluginResult
Returns a duplicate of the value. Read more
1.0.0 · 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 PluginResult
impl Debug for PluginResult
Source§impl<'de> Deserialize<'de> for PluginResult
impl<'de> Deserialize<'de> for PluginResult
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 PluginResult
impl RefUnwindSafe for PluginResult
impl Send for PluginResult
impl Sync for PluginResult
impl Unpin for PluginResult
impl UnsafeUnpin for PluginResult
impl UnwindSafe for PluginResult
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