Struct postgres::notification::Notification [] [src]

pub struct Notification {
    pub pid: u32,
    pub channel: String,
    pub payload: String,
}

An asynchronous notification.

Fields

pid

The process ID of the notifying backend process.

channel

The name of the channel that the notify has been raised on.

payload

The "payload" string passed from the notifying process.

Trait Implementations

Derived Implementations

impl Debug for Notification
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Notification
[src]

fn clone(&self) -> Notification

fn clone_from(&mut self, source: &Self)
1.0.0