Struct rusp::usp::mod_GetSupportedDMResp::SupportedEventResult
source · pub struct SupportedEventResult<'a> {
pub event_name: Cow<'a, str>,
pub arg_names: Vec<Cow<'a, str>>,
}
Fields§
§event_name: Cow<'a, str>
§arg_names: Vec<Cow<'a, str>>
Trait Implementations§
source§impl<'a> Clone for SupportedEventResult<'a>
impl<'a> Clone for SupportedEventResult<'a>
source§fn clone(&self) -> SupportedEventResult<'a>
fn clone(&self) -> SupportedEventResult<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for SupportedEventResult<'a>
impl<'a> Debug for SupportedEventResult<'a>
source§impl<'a> Default for SupportedEventResult<'a>
impl<'a> Default for SupportedEventResult<'a>
source§fn default() -> SupportedEventResult<'a>
fn default() -> SupportedEventResult<'a>
Returns the “default value” for a type. Read more
source§impl<'a> MessageRead<'a> for SupportedEventResult<'a>
impl<'a> MessageRead<'a> for SupportedEventResult<'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 SupportedEventResult<'a>
impl<'a> MessageWrite for SupportedEventResult<'a>
source§impl<'a> PartialEq for SupportedEventResult<'a>
impl<'a> PartialEq for SupportedEventResult<'a>
source§fn eq(&self, other: &SupportedEventResult<'a>) -> bool
fn eq(&self, other: &SupportedEventResult<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SupportedEventResult<'_>
impl Serialize for SupportedEventResult<'_>
impl<'a> StructuralPartialEq for SupportedEventResult<'a>
Auto Trait Implementations§
impl<'a> Freeze for SupportedEventResult<'a>
impl<'a> RefUnwindSafe for SupportedEventResult<'a>
impl<'a> Send for SupportedEventResult<'a>
impl<'a> Sync for SupportedEventResult<'a>
impl<'a> Unpin for SupportedEventResult<'a>
impl<'a> UnwindSafe for SupportedEventResult<'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