pub struct PluginMessage {
pub channel: String,
pub data: Vec<u8>,
}Expand description
Plugin channel message.
Fields§
§channel: StringChannel name.
data: Vec<u8>Raw bytes the channel sent.
Trait Implementations§
Source§impl Clone for PluginMessage
impl Clone for PluginMessage
Source§fn clone(&self) -> PluginMessage
fn clone(&self) -> PluginMessage
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 PluginMessage
impl Debug for PluginMessage
Source§impl PartialEq for PluginMessage
impl PartialEq for PluginMessage
impl StructuralPartialEq for PluginMessage
Auto Trait Implementations§
impl Freeze for PluginMessage
impl RefUnwindSafe for PluginMessage
impl Send for PluginMessage
impl Sync for PluginMessage
impl Unpin for PluginMessage
impl UnwindSafe for PluginMessage
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