pub struct Event {
pub obj_path: String,
pub event_name: String,
pub params: HashMap<String, String>,
}Fields§
§obj_path: String§event_name: String§params: HashMap<String, String>Trait Implementations§
Source§impl<'a> MessageRead<'a> for Event
impl<'a> MessageRead<'a> for Event
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for Event
impl MessageWrite for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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