pub struct SQLNotification {
pub process_id: i32,
pub channel: String,
pub payload: String,
}Expand description
One committed SQL notification waiting for this session.
Fields§
§process_id: i32Stable backend process identifier of the sending SQL session.
channel: StringSubscribed SQL channel that received the message.
payload: StringSender-provided payload, or the empty string when NOTIFY omitted it.
Trait Implementations§
Source§impl Clone for SQLNotification
impl Clone for SQLNotification
Source§impl Debug for SQLNotification
impl Debug for SQLNotification
impl Eq for SQLNotification
Source§impl PartialEq for SQLNotification
impl PartialEq for SQLNotification
impl StructuralPartialEq for SQLNotification
Auto Trait Implementations§
impl Freeze for SQLNotification
impl RefUnwindSafe for SQLNotification
impl Send for SQLNotification
impl Sync for SQLNotification
impl Unpin for SQLNotification
impl UnsafeUnpin for SQLNotification
impl UnwindSafe for SQLNotification
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