pub struct Notification {
pub process_id: i32,
pub channel: String,
pub payload: String,
}Expand description
A notification received from PostgreSQL LISTEN/NOTIFY.
Fields§
§process_id: i32The PID of the notifying backend process
channel: StringThe channel name
payload: StringThe payload (may be empty)
Trait Implementations§
Source§impl Clone for Notification
impl Clone for Notification
Auto Trait Implementations§
impl Freeze for Notification
impl RefUnwindSafe for Notification
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl UnsafeUnpin for Notification
impl UnwindSafe for Notification
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