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

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

An asynchronous notification.

Fields

pid: u32

The process ID of the notifying backend process.

channel: String

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

payload: String

The "payload" string passed from the notifying process.

Trait Implementations

impl Debug for Notification
[src]

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

Formats the value using the given formatter.

impl Clone for Notification
[src]

fn clone(&self) -> Notification

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more