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

pub struct Notification {
    pub process_id: i32,
    pub channel: String,
    pub payload: String,
}

An asynchronous notification.

Fields

The process ID of the notifying backend process.

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

The "payload" string passed from the notifying process.

Trait Implementations

impl Clone for Notification
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Notification
[src]

[src]

Formats the value using the given formatter.