pub struct PluginData {
pub sender: Option<u32>,
pub data_id: String,
pub data: Bytes,
}Expand description
Data another client sent through the server’s plugin data channel.
Fields§
§sender: Option<u32>Sender session as stamped by the server.
data_id: StringWhat the data is; receivers ignore ids they do not know.
data: BytesTrait Implementations§
Source§impl Clone for PluginData
impl Clone for PluginData
Source§impl Debug for PluginData
impl Debug for PluginData
impl Eq for PluginData
Source§impl PartialEq for PluginData
impl PartialEq for PluginData
impl StructuralPartialEq for PluginData
Auto Trait Implementations§
impl !Freeze for PluginData
impl Forget for PluginData
impl Move for PluginData
impl RefUnwindSafe for PluginData
impl Send for PluginData
impl Sync for PluginData
impl Unpin for PluginData
impl UnsafeUnpin for PluginData
impl UnwindSafe for PluginData
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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