pub struct PongMessage {
pub from: String,
pub to: String,
pub data: String,
}Fields§
§from: String§to: String§data: StringImplementations§
Trait Implementations§
Source§impl Clone for PongMessage
impl Clone for PongMessage
Source§fn clone(&self) -> PongMessage
fn clone(&self) -> PongMessage
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 moreSource§impl Debug for PongMessage
impl Debug for PongMessage
Source§impl Display for PongMessage
impl Display for PongMessage
Auto Trait Implementations§
impl Freeze for PongMessage
impl RefUnwindSafe for PongMessage
impl Send for PongMessage
impl Sync for PongMessage
impl Unpin for PongMessage
impl UnwindSafe for PongMessage
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