pub struct PostgresChangePayload {
pub schema: String,
pub table: String,
pub change_type: String,
pub commit_timestamp: Option<String>,
pub columns: Vec<ColumnInfo>,
pub record: Option<Value>,
pub old_record: Option<Value>,
pub errors: Option<Value>,
}Expand description
Payload delivered for a postgres_changes event.
Fields§
§schema: String§table: String§change_type: String§commit_timestamp: Option<String>§columns: Vec<ColumnInfo>§record: Option<Value>§old_record: Option<Value>§errors: Option<Value>Trait Implementations§
Source§impl Clone for PostgresChangePayload
impl Clone for PostgresChangePayload
Source§fn clone(&self) -> PostgresChangePayload
fn clone(&self) -> PostgresChangePayload
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 PostgresChangePayload
impl Debug for PostgresChangePayload
Source§impl<'de> Deserialize<'de> for PostgresChangePayload
impl<'de> Deserialize<'de> for PostgresChangePayload
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 PostgresChangePayload
impl RefUnwindSafe for PostgresChangePayload
impl Send for PostgresChangePayload
impl Sync for PostgresChangePayload
impl Unpin for PostgresChangePayload
impl UnsafeUnpin for PostgresChangePayload
impl UnwindSafe for PostgresChangePayload
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