pub struct TriggerExtraProperty {
pub path: String,
pub script_path: String,
pub permissioned_as: String,
pub extra_perms: HashMap<String, bool>,
pub workspace_id: String,
pub edited_by: String,
pub edited_at: String,
pub is_flow: bool,
pub mode: TriggerMode,
pub labels: Option<Vec<String>>,
pub draft_only: Option<bool>,
pub is_draft: Option<bool>,
}Fields§
§path: StringThe unique Windmill path for this trigger. Must be of the form u/<user>/<path> or f/<folder>/<path>. This is the trigger object path, not the HTTP route path.
script_path: StringPath to the script or flow to execute when triggered
permissioned_as: StringThe user or group this trigger runs as (permissioned_as)
extra_perms: HashMap<String, bool>Additional permissions for this trigger
workspace_id: StringThe workspace this trigger belongs to
edited_by: StringUsername of the last person who edited this trigger
edited_at: StringTimestamp of the last edit
is_flow: boolTrue if script_path points to a flow, false if it points to a script
mode: TriggerMode§labels: Option<Vec<String>>§draft_only: Option<bool>True when this row is a per-user draft with no deployed trigger at the same path. Set by list endpoints when include_draft_only=true synthesizes the row from the draft. Frontend renders a "Draft" badge.
is_draft: Option<bool>True when the authed user has a per-user draft at this path (over a deployed row or a synthesized draft-only row). Frontend appends a * to the displayed name.
Implementations§
Trait Implementations§
Source§impl Clone for TriggerExtraProperty
impl Clone for TriggerExtraProperty
Source§fn clone(&self) -> TriggerExtraProperty
fn clone(&self) -> TriggerExtraProperty
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TriggerExtraProperty
impl Debug for TriggerExtraProperty
Source§impl Default for TriggerExtraProperty
impl Default for TriggerExtraProperty
Source§fn default() -> TriggerExtraProperty
fn default() -> TriggerExtraProperty
Source§impl<'de> Deserialize<'de> for TriggerExtraProperty
impl<'de> Deserialize<'de> for TriggerExtraProperty
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>,
Source§impl PartialEq for TriggerExtraProperty
impl PartialEq for TriggerExtraProperty
Source§fn eq(&self, other: &TriggerExtraProperty) -> bool
fn eq(&self, other: &TriggerExtraProperty) -> bool
self and other values to be equal, and is used by ==.