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