pub struct EmailTrigger {Show 14 fields
pub local_part: String,
pub workspaced_local_part: Option<bool>,
pub error_handler_path: Option<String>,
pub error_handler_args: Option<HashMap<String, Value>>,
pub retry: Option<Box<Retry>>,
pub path: String,
pub script_path: String,
pub email: 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,
}Fields§
§local_part: String§workspaced_local_part: Option<bool>§error_handler_path: Option<String>§error_handler_args: Option<HashMap<String, Value>>The arguments to pass to the script or flow
retry: Option<Box<Retry>>§path: StringThe unique path identifier for this trigger
script_path: StringPath to the script or flow to execute when triggered
email: StringEmail of the user who owns this trigger, used for 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: TriggerModeImplementations§
Trait Implementations§
Source§impl Clone for EmailTrigger
impl Clone for EmailTrigger
Source§fn clone(&self) -> EmailTrigger
fn clone(&self) -> EmailTrigger
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 EmailTrigger
impl Debug for EmailTrigger
Source§impl Default for EmailTrigger
impl Default for EmailTrigger
Source§fn default() -> EmailTrigger
fn default() -> EmailTrigger
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmailTrigger
impl<'de> Deserialize<'de> for EmailTrigger
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 EmailTrigger
impl PartialEq for EmailTrigger
Source§impl Serialize for EmailTrigger
impl Serialize for EmailTrigger
impl StructuralPartialEq for EmailTrigger
Auto Trait Implementations§
impl Freeze for EmailTrigger
impl RefUnwindSafe for EmailTrigger
impl Send for EmailTrigger
impl Sync for EmailTrigger
impl Unpin for EmailTrigger
impl UnwindSafe for EmailTrigger
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