pub struct TriggerDefinition(pub Box<TriggerDefinitionInner>);
Expand description
TriggerDefinition Type: A description of a triggering event. Triggering events can be named events, data events, or periodic, as determined by the type element.
TriggerDefinition v5.0.0
Defines an expected trigger for a module
A description of a triggering event. Triggering events can be named events, data events, or periodic, as determined by the type element.
If an event is a named-event, it means the event is completely pre-coordinated, and no other information can be specified for the event. If the event is one of the data- events, the data and condition elements specify the triggering criteria. The data element specifies the structured component, and the condition element provides additional optional refinement of that structured component. If the event is periodic, the timing element defines when the event is triggered. For both data- and periodic events, a name can be provided as a shorthand for the formal semantics provided by the other elements.
Tuple Fields§
§0: Box<TriggerDefinitionInner>
Implementations§
Source§impl TriggerDefinition
impl TriggerDefinition
Sourcepub fn builder() -> TriggerDefinitionBuilder
pub fn builder() -> TriggerDefinitionBuilder
Start building an instance.
Trait Implementations§
Source§impl Clone for TriggerDefinition
impl Clone for TriggerDefinition
Source§fn clone(&self) -> TriggerDefinition
fn clone(&self) -> TriggerDefinition
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more