pub struct ErrorHandlerConfig {
pub path: Option<String>,
pub extra_args: Option<HashMap<String, Value>>,
pub muted_on_cancel: Option<bool>,
pub muted_on_user_path: Option<bool>,
}Expand description
ErrorHandlerConfig : Configuration for the workspace error handler
Fields§
§path: Option<String>Path to the error handler script or flow
extra_args: Option<HashMap<String, Value>>The arguments to pass to the script or flow
muted_on_cancel: Option<bool>§muted_on_user_path: Option<bool>Implementations§
Source§impl ErrorHandlerConfig
impl ErrorHandlerConfig
Sourcepub fn new() -> ErrorHandlerConfig
pub fn new() -> ErrorHandlerConfig
Configuration for the workspace error handler
Trait Implementations§
Source§impl Clone for ErrorHandlerConfig
impl Clone for ErrorHandlerConfig
Source§fn clone(&self) -> ErrorHandlerConfig
fn clone(&self) -> ErrorHandlerConfig
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 ErrorHandlerConfig
impl Debug for ErrorHandlerConfig
Source§impl Default for ErrorHandlerConfig
impl Default for ErrorHandlerConfig
Source§fn default() -> ErrorHandlerConfig
fn default() -> ErrorHandlerConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ErrorHandlerConfig
impl<'de> Deserialize<'de> for ErrorHandlerConfig
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 PartialEq for ErrorHandlerConfig
impl PartialEq for ErrorHandlerConfig
Source§impl Serialize for ErrorHandlerConfig
impl Serialize for ErrorHandlerConfig
impl StructuralPartialEq for ErrorHandlerConfig
Auto Trait Implementations§
impl Freeze for ErrorHandlerConfig
impl RefUnwindSafe for ErrorHandlerConfig
impl Send for ErrorHandlerConfig
impl Sync for ErrorHandlerConfig
impl Unpin for ErrorHandlerConfig
impl UnwindSafe for ErrorHandlerConfig
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