Struct rusp::usp::mod_Notify::Event
source · pub struct Event<'a> {
pub obj_path: Cow<'a, str>,
pub event_name: Cow<'a, str>,
pub params: HashMap<Cow<'a, str>, Cow<'a, str>>,
}
Fields§
§obj_path: Cow<'a, str>
§event_name: Cow<'a, str>
§params: HashMap<Cow<'a, str>, Cow<'a, str>>
Trait Implementations§
source§impl<'a> MessageRead<'a> for Event<'a>
impl<'a> MessageRead<'a> for Event<'a>
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<'a> MessageWrite for Event<'a>
impl<'a> MessageWrite for Event<'a>
source§impl<'a> PartialEq for Event<'a>
impl<'a> PartialEq for Event<'a>
impl<'a> StructuralPartialEq for Event<'a>
Auto Trait Implementations§
impl<'a> Freeze for Event<'a>
impl<'a> RefUnwindSafe for Event<'a>
impl<'a> Send for Event<'a>
impl<'a> Sync for Event<'a>
impl<'a> Unpin for Event<'a>
impl<'a> UnwindSafe for Event<'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