pub struct EditAmqpTrigger {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 or flow to run when the triggered job fails
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 EditAmqpTrigger
impl Clone for EditAmqpTrigger
Source§fn clone(&self) -> EditAmqpTrigger
fn clone(&self) -> EditAmqpTrigger
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 EditAmqpTrigger
impl Debug for EditAmqpTrigger
Source§impl Default for EditAmqpTrigger
impl Default for EditAmqpTrigger
Source§fn default() -> EditAmqpTrigger
fn default() -> EditAmqpTrigger
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EditAmqpTrigger
impl<'de> Deserialize<'de> for EditAmqpTrigger
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 EditAmqpTrigger
impl PartialEq for EditAmqpTrigger
Source§impl Serialize for EditAmqpTrigger
impl Serialize for EditAmqpTrigger
impl StructuralPartialEq for EditAmqpTrigger
Auto Trait Implementations§
impl Freeze for EditAmqpTrigger
impl RefUnwindSafe for EditAmqpTrigger
impl Send for EditAmqpTrigger
impl Sync for EditAmqpTrigger
impl Unpin for EditAmqpTrigger
impl UnsafeUnpin for EditAmqpTrigger
impl UnwindSafe for EditAmqpTrigger
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