pub struct NativeTrigger {
pub external_id: String,
pub workspace_id: String,
pub service_name: NativeServiceName,
pub script_path: String,
pub is_flow: bool,
pub service_config: HashMap<String, Value>,
pub error: Option<Option<String>>,
}Expand description
NativeTrigger : A native trigger stored in Windmill
Fields§
§external_id: StringThe unique identifier from the external service
workspace_id: StringThe workspace this trigger belongs to
service_name: NativeServiceName§script_path: StringThe path to the script or flow that will be triggered
is_flow: boolWhether the trigger targets a flow (true) or a script (false)
service_config: HashMap<String, Value>Configuration for the trigger including event_type and service_config
error: Option<Option<String>>Error message if the trigger is in an error state
Implementations§
Source§impl NativeTrigger
impl NativeTrigger
Trait Implementations§
Source§impl Clone for NativeTrigger
impl Clone for NativeTrigger
Source§fn clone(&self) -> NativeTrigger
fn clone(&self) -> NativeTrigger
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 NativeTrigger
impl Debug for NativeTrigger
Source§impl Default for NativeTrigger
impl Default for NativeTrigger
Source§fn default() -> NativeTrigger
fn default() -> NativeTrigger
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NativeTrigger
impl<'de> Deserialize<'de> for NativeTrigger
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 NativeTrigger
impl PartialEq for NativeTrigger
Source§impl Serialize for NativeTrigger
impl Serialize for NativeTrigger
impl StructuralPartialEq for NativeTrigger
Auto Trait Implementations§
impl Freeze for NativeTrigger
impl RefUnwindSafe for NativeTrigger
impl Send for NativeTrigger
impl Sync for NativeTrigger
impl Unpin for NativeTrigger
impl UnwindSafe for NativeTrigger
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