pub struct NotificationResponse<'a> {
pub pid: u32,
pub channel: &'a str,
pub payload: &'a str,
}Expand description
NotificationResponse message - asynchronous notification from LISTEN/NOTIFY.
Fields§
§pid: u32PID of the notifying backend
channel: &'a strChannel name
payload: &'a strNotification payload
Implementations§
Trait Implementations§
Source§impl<'a> Clone for NotificationResponse<'a>
impl<'a> Clone for NotificationResponse<'a>
Source§fn clone(&self) -> NotificationResponse<'a>
fn clone(&self) -> NotificationResponse<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for NotificationResponse<'a>
impl<'a> RefUnwindSafe for NotificationResponse<'a>
impl<'a> Send for NotificationResponse<'a>
impl<'a> Sync for NotificationResponse<'a>
impl<'a> Unpin for NotificationResponse<'a>
impl<'a> UnwindSafe for NotificationResponse<'a>
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