pub struct EditPostgresTrigger {
pub replication_slot_name: String,
pub publication_name: String,
pub path: String,
pub script_path: String,
pub is_flow: bool,
pub mode: Option<TriggerMode>,
pub postgres_resource_path: String,
pub publication: Option<Box<PublicationData>>,
pub error_handler_path: Option<String>,
pub error_handler_args: Option<HashMap<String, Value>>,
pub retry: Option<Box<Retry>>,
}Fields§
§replication_slot_name: StringName of the PostgreSQL logical replication slot to use
publication_name: StringName of the PostgreSQL publication to subscribe to for change data capture
path: StringThe unique path identifier for this trigger
script_path: StringPath to the script or flow to execute when database changes are detected
is_flow: boolTrue if script_path points to a flow, false if it points to a script
mode: Option<TriggerMode>§postgres_resource_path: StringPath to the PostgreSQL resource containing connection configuration
publication: Option<Box<PublicationData>>§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>>Implementations§
Trait Implementations§
Source§impl Clone for EditPostgresTrigger
impl Clone for EditPostgresTrigger
Source§fn clone(&self) -> EditPostgresTrigger
fn clone(&self) -> EditPostgresTrigger
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 EditPostgresTrigger
impl Debug for EditPostgresTrigger
Source§impl Default for EditPostgresTrigger
impl Default for EditPostgresTrigger
Source§fn default() -> EditPostgresTrigger
fn default() -> EditPostgresTrigger
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EditPostgresTrigger
impl<'de> Deserialize<'de> for EditPostgresTrigger
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 EditPostgresTrigger
impl PartialEq for EditPostgresTrigger
Source§impl Serialize for EditPostgresTrigger
impl Serialize for EditPostgresTrigger
impl StructuralPartialEq for EditPostgresTrigger
Auto Trait Implementations§
impl Freeze for EditPostgresTrigger
impl RefUnwindSafe for EditPostgresTrigger
impl Send for EditPostgresTrigger
impl Sync for EditPostgresTrigger
impl Unpin for EditPostgresTrigger
impl UnwindSafe for EditPostgresTrigger
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