pub struct PluginResult {
pub success: bool,
pub output: String,
pub error: Option<String>,
}Expand description
Result of a plugin execution.
Fields§
§success: boolWhether the plugin execution succeeded.
output: StringOutput produced by the plugin.
error: Option<String>Error message, if any.
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