Struct buttplug::core::message::DeviceMessageInfoV2
source · pub struct DeviceMessageInfoV2 { /* private fields */ }Implementations§
source§impl DeviceMessageInfoV2
impl DeviceMessageInfoV2
pub fn device_name(&self) -> &String
pub fn device_messages(&self) -> &ClientDeviceMessageAttributesV2
source§impl DeviceMessageInfoV2
impl DeviceMessageInfoV2
pub fn device_index(&self) -> u32
Trait Implementations§
source§impl Clone for DeviceMessageInfoV2
impl Clone for DeviceMessageInfoV2
source§fn clone(&self) -> DeviceMessageInfoV2
fn clone(&self) -> DeviceMessageInfoV2
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 Debug for DeviceMessageInfoV2
impl Debug for DeviceMessageInfoV2
source§impl<'de> Deserialize<'de> for DeviceMessageInfoV2
impl<'de> Deserialize<'de> for DeviceMessageInfoV2
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<DeviceAdded> for DeviceMessageInfoV2
impl From<DeviceAdded> for DeviceMessageInfoV2
source§fn from(device_added: DeviceAdded) -> Self
fn from(device_added: DeviceAdded) -> Self
Converts to this type from the input type.
source§impl From<DeviceAddedV2> for DeviceMessageInfoV2
impl From<DeviceAddedV2> for DeviceMessageInfoV2
source§fn from(device_added: DeviceAddedV2) -> Self
fn from(device_added: DeviceAddedV2) -> Self
Converts to this type from the input type.
source§impl From<DeviceMessageInfo> for DeviceMessageInfoV2
impl From<DeviceMessageInfo> for DeviceMessageInfoV2
source§fn from(device_message_info: DeviceMessageInfo) -> Self
fn from(device_message_info: DeviceMessageInfo) -> Self
Converts to this type from the input type.
source§impl From<DeviceMessageInfoV2> for DeviceMessageInfoV1
impl From<DeviceMessageInfoV2> for DeviceMessageInfoV1
source§fn from(device_message_info: DeviceMessageInfoV2) -> Self
fn from(device_message_info: DeviceMessageInfoV2) -> Self
Converts to this type from the input type.
source§impl PartialEq<DeviceMessageInfoV2> for DeviceMessageInfoV2
impl PartialEq<DeviceMessageInfoV2> for DeviceMessageInfoV2
source§fn eq(&self, other: &DeviceMessageInfoV2) -> bool
fn eq(&self, other: &DeviceMessageInfoV2) -> bool
source§impl Serialize for DeviceMessageInfoV2
impl Serialize for DeviceMessageInfoV2
impl Eq for DeviceMessageInfoV2
impl StructuralEq for DeviceMessageInfoV2
impl StructuralPartialEq for DeviceMessageInfoV2
Auto Trait Implementations§
impl RefUnwindSafe for DeviceMessageInfoV2
impl Send for DeviceMessageInfoV2
impl Sync for DeviceMessageInfoV2
impl Unpin for DeviceMessageInfoV2
impl UnwindSafe for DeviceMessageInfoV2
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.