pub struct PluginEvent<'a> {
pub plugin_id: Option<u32>,
pub event_data: Option<&'a [u8]>,
}
Fields§
§plugin_id: Option<u32>
§event_data: Option<&'a [u8]>
Trait Implementations§
Source§impl<'a> Debug for PPME_PLUGINEVENT_E<'a>
impl<'a> Debug for PPME_PLUGINEVENT_E<'a>
Source§impl<'a> EventPayload for PPME_PLUGINEVENT_E<'a>
impl<'a> EventPayload for PPME_PLUGINEVENT_E<'a>
Source§impl<'a> Format<PF_NA> for PPME_PLUGINEVENT_E<'a>
impl<'a> Format<PF_NA> for PPME_PLUGINEVENT_E<'a>
Source§impl<'a> PayloadFromBytes<'a> for PPME_PLUGINEVENT_E<'a>
impl<'a> PayloadFromBytes<'a> for PPME_PLUGINEVENT_E<'a>
fn read( params: impl Iterator<Item = Result<&'a [u8], FromBytesError>>, ) -> Result<PPME_PLUGINEVENT_E<'a>, PayloadFromBytesError>
Source§impl<'a> PayloadToBytes for PPME_PLUGINEVENT_E<'a>
impl<'a> PayloadToBytes for PPME_PLUGINEVENT_E<'a>
Source§impl<'a> Serialize for PPME_PLUGINEVENT_E<'a>
impl<'a> Serialize for PPME_PLUGINEVENT_E<'a>
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for PPME_PLUGINEVENT_E<'a>
impl<'a> RefUnwindSafe for PPME_PLUGINEVENT_E<'a>
impl<'a> Send for PPME_PLUGINEVENT_E<'a>
impl<'a> Sync for PPME_PLUGINEVENT_E<'a>
impl<'a> Unpin for PPME_PLUGINEVENT_E<'a>
impl<'a> UnwindSafe for PPME_PLUGINEVENT_E<'a>
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