pub struct ProtocolEvent {
pub plugin_id: String,
pub payload: Value,
}Fields§
§plugin_id: String§payload: ValueImplementations§
Trait Implementations§
Source§impl Clone for ProtocolEvent
impl Clone for ProtocolEvent
Source§fn clone(&self) -> ProtocolEvent
fn clone(&self) -> ProtocolEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProtocolEvent
impl Debug for ProtocolEvent
Source§impl<'de> Deserialize<'de> for ProtocolEvent
impl<'de> Deserialize<'de> for ProtocolEvent
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProtocolEvent
impl PartialEq for ProtocolEvent
Source§fn eq(&self, other: &ProtocolEvent) -> bool
fn eq(&self, other: &ProtocolEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProtocolEvent
impl Serialize for ProtocolEvent
impl StructuralPartialEq for ProtocolEvent
Auto Trait Implementations§
impl Freeze for ProtocolEvent
impl RefUnwindSafe for ProtocolEvent
impl Send for ProtocolEvent
impl Sync for ProtocolEvent
impl Unpin for ProtocolEvent
impl UnsafeUnpin for ProtocolEvent
impl UnwindSafe for ProtocolEvent
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