pub struct PostgresChangeData {
pub columns: Vec<PostgresColumn>,
pub commit_timestamp: String,
pub errors: Option<String>,
pub old_record: Option<PostgresOldDataRef>,
pub record: Option<HashMap<String, Value>>,
pub change_type: PostgresChangesEvent,
pub schema: String,
pub table: String,
}Expand description
Recieved data regarding a postgres change
Fields§
§columns: Vec<PostgresColumn>§commit_timestamp: String§errors: Option<String>§old_record: Option<PostgresOldDataRef>§record: Option<HashMap<String, Value>>§change_type: PostgresChangesEvent§schema: String§table: StringTrait Implementations§
Source§impl Clone for PostgresChangeData
impl Clone for PostgresChangeData
Source§fn clone(&self) -> PostgresChangeData
fn clone(&self) -> PostgresChangeData
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 PostgresChangeData
impl Debug for PostgresChangeData
Source§impl<'de> Deserialize<'de> for PostgresChangeData
impl<'de> Deserialize<'de> for PostgresChangeData
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
Auto Trait Implementations§
impl Freeze for PostgresChangeData
impl RefUnwindSafe for PostgresChangeData
impl Send for PostgresChangeData
impl Sync for PostgresChangeData
impl Unpin for PostgresChangeData
impl UnwindSafe for PostgresChangeData
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