pub struct PostgresTrigger {Show 15 fields
pub enabled: bool,
pub postgres_resource_path: String,
pub publication_name: String,
pub server_id: Option<String>,
pub replication_slot_name: String,
pub error: Option<String>,
pub last_server_ping: Option<String>,
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,
}
Fields§
§enabled: bool
§postgres_resource_path: String
§publication_name: String
§server_id: Option<String>
§replication_slot_name: String
§error: Option<String>
§last_server_ping: Option<String>
§path: String
§script_path: String
§email: String
§extra_perms: HashMap<String, bool>
§workspace_id: String
§edited_by: String
§edited_at: String
§is_flow: bool
Implementations§
Source§impl PostgresTrigger
impl PostgresTrigger
pub fn new( enabled: bool, postgres_resource_path: String, publication_name: String, replication_slot_name: String, path: String, script_path: String, email: String, extra_perms: HashMap<String, bool>, workspace_id: String, edited_by: String, edited_at: String, is_flow: bool, ) -> PostgresTrigger
Trait Implementations§
Source§impl Clone for PostgresTrigger
impl Clone for PostgresTrigger
Source§fn clone(&self) -> PostgresTrigger
fn clone(&self) -> PostgresTrigger
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 PostgresTrigger
impl Debug for PostgresTrigger
Source§impl Default for PostgresTrigger
impl Default for PostgresTrigger
Source§fn default() -> PostgresTrigger
fn default() -> PostgresTrigger
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostgresTrigger
impl<'de> Deserialize<'de> for PostgresTrigger
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 PostgresTrigger
impl PartialEq for PostgresTrigger
Source§impl Serialize for PostgresTrigger
impl Serialize for PostgresTrigger
impl StructuralPartialEq for PostgresTrigger
Auto Trait Implementations§
impl Freeze for PostgresTrigger
impl RefUnwindSafe for PostgresTrigger
impl Send for PostgresTrigger
impl Sync for PostgresTrigger
impl Unpin for PostgresTrigger
impl UnwindSafe for PostgresTrigger
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