pub struct ServerNotice {
pub timestamp: i64,
pub payload: Vec<u8>,
}Expand description
A raw notice from the server: greetings, subscription acknowledgements and refusals, as human-readable prose. It names no segment and no command, so nothing may gate on its content.
Fields§
§timestamp: i64Unix milliseconds.
payload: Vec<u8>Trait Implementations§
Source§impl Clone for ServerNotice
impl Clone for ServerNotice
Source§impl Debug for ServerNotice
impl Debug for ServerNotice
impl Eq for ServerNotice
Source§impl PartialEq for ServerNotice
impl PartialEq for ServerNotice
impl StructuralPartialEq for ServerNotice
Auto Trait Implementations§
impl Freeze for ServerNotice
impl RefUnwindSafe for ServerNotice
impl Send for ServerNotice
impl Sync for ServerNotice
impl Unpin for ServerNotice
impl UnsafeUnpin for ServerNotice
impl UnwindSafe for ServerNotice
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