pub struct NewAmqpTrigger {Show 14 fields
pub amqp_resource_path: String,
pub queue_name: String,
pub exchange: Option<Box<AmqpExchange>>,
pub options: Option<Box<AmqpOptions>>,
pub path: String,
pub script_path: String,
pub is_flow: bool,
pub mode: Option<TriggerMode>,
pub error_handler_path: Option<String>,
pub error_handler_args: Option<HashMap<String, Value>>,
pub retry: Option<Box<Retry>>,
pub permissioned_as: Option<String>,
pub preserve_permissioned_as: Option<bool>,
pub labels: Option<Vec<String>>,
}Fields§
§amqp_resource_path: StringPath to the AMQP resource containing broker connection configuration
queue_name: StringName of the queue to consume messages from
exchange: Option<Box<AmqpExchange>>§options: Option<Box<AmqpOptions>>§path: StringThe unique Windmill path for this trigger. Must be of the form u/<user>/<path> or f/<folder>/<path>.
script_path: StringPath to the script or flow to execute when a message is received
is_flow: boolTrue if script_path points to a flow, false if it points to a script
mode: Option<TriggerMode>§error_handler_path: Option<String>Path to a script to run when the triggered job fails. A bare path, without the script/ or flow/ prefix a schedule error handler takes; it cannot be a flow.
error_handler_args: Option<HashMap<String, Value>>The arguments to pass to the script or flow
retry: Option<Box<Retry>>§permissioned_as: Option<String>The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
preserve_permissioned_as: Option<bool>When true and the caller is a member of the ‘wm_deployers’ group, preserves the original permissioned_as value instead of overwriting it.
labels: Option<Vec<String>>Implementations§
Trait Implementations§
Source§impl Clone for NewAmqpTrigger
impl Clone for NewAmqpTrigger
Source§fn clone(&self) -> NewAmqpTrigger
fn clone(&self) -> NewAmqpTrigger
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more