pub struct ErrorCatcherDefinition {
pub errors: Option<ErrorFilterDefinition>,
pub as_: Option<String>,
pub when: Option<String>,
pub except_when: Option<String>,
pub retry: Option<OneOfRetryPolicyDefinitionOrReference>,
pub do_: Option<Map<String, TaskDefinition>>,
}Expand description
Represents the configuration of a concept used to catch errors
Fields§
§errors: Option<ErrorFilterDefinition>Gets/sets the definition of the errors to catch
as_: Option<String>Gets/sets the name of the runtime expression variable to save the error as. Defaults to ‘error’.
when: Option<String>Gets/sets a runtime expression used to determine whether or not to catch the filtered error
except_when: Option<String>Gets/sets a runtime expression used to determine when NOT to catch the filtered error
retry: Option<OneOfRetryPolicyDefinitionOrReference>Gets/sets the retry policy to use, if any
do_: Option<Map<String, TaskDefinition>>Gets/sets a name/definition map of the tasks, if any, to run when catching an error
Trait Implementations§
Source§impl Clone for ErrorCatcherDefinition
impl Clone for ErrorCatcherDefinition
Source§fn clone(&self) -> ErrorCatcherDefinition
fn clone(&self) -> ErrorCatcherDefinition
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 ErrorCatcherDefinition
impl Debug for ErrorCatcherDefinition
Source§impl Default for ErrorCatcherDefinition
impl Default for ErrorCatcherDefinition
Source§fn default() -> ErrorCatcherDefinition
fn default() -> ErrorCatcherDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ErrorCatcherDefinition
impl<'de> Deserialize<'de> for ErrorCatcherDefinition
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 ErrorCatcherDefinition
impl PartialEq for ErrorCatcherDefinition
Source§fn eq(&self, other: &ErrorCatcherDefinition) -> bool
fn eq(&self, other: &ErrorCatcherDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ErrorCatcherDefinition
impl Serialize for ErrorCatcherDefinition
impl StructuralPartialEq for ErrorCatcherDefinition
Auto Trait Implementations§
impl Freeze for ErrorCatcherDefinition
impl RefUnwindSafe for ErrorCatcherDefinition
impl Send for ErrorCatcherDefinition
impl Sync for ErrorCatcherDefinition
impl Unpin for ErrorCatcherDefinition
impl UnsafeUnpin for ErrorCatcherDefinition
impl UnwindSafe for ErrorCatcherDefinition
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