Struct buttplug::core::message::ClientDeviceMessageAttributesV2
source · pub struct ClientDeviceMessageAttributesV2 { /* private fields */ }Implementations§
source§impl ClientDeviceMessageAttributesV2
impl ClientDeviceMessageAttributesV2
pub fn vibrate_cmd(&self) -> &Option<GenericDeviceMessageAttributesV2>
pub fn rotate_cmd(&self) -> &Option<GenericDeviceMessageAttributesV2>
pub fn linear_cmd(&self) -> &Option<GenericDeviceMessageAttributesV2>
pub fn battery_level_cmd(&self) -> &Option<NullDeviceMessageAttributes>
pub fn rssi_level_cmd(&self) -> &Option<NullDeviceMessageAttributes>
pub fn stop_device_cmd(&self) -> &NullDeviceMessageAttributes
pub fn raw_read_cmd(&self) -> &Option<RawDeviceMessageAttributes>
pub fn raw_write_cmd(&self) -> &Option<RawDeviceMessageAttributes>
pub fn raw_subscribe_cmd(&self) -> &Option<RawDeviceMessageAttributes>
pub fn raw_unsubscribe_cmd(&self) -> &Option<RawDeviceMessageAttributes>
pub fn fleshlight_launch_fw12_cmd(&self) -> &Option<NullDeviceMessageAttributes>
pub fn vorze_a10_cyclone_cmd(&self) -> &Option<NullDeviceMessageAttributes>
Trait Implementations§
source§impl Clone for ClientDeviceMessageAttributesV2
impl Clone for ClientDeviceMessageAttributesV2
source§fn clone(&self) -> ClientDeviceMessageAttributesV2
fn clone(&self) -> ClientDeviceMessageAttributesV2
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<'de> Deserialize<'de> for ClientDeviceMessageAttributesV2
impl<'de> Deserialize<'de> for ClientDeviceMessageAttributesV2
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<ClientDeviceMessageAttributes> for ClientDeviceMessageAttributesV2
impl From<ClientDeviceMessageAttributes> for ClientDeviceMessageAttributesV2
source§fn from(other: ClientDeviceMessageAttributes) -> Self
fn from(other: ClientDeviceMessageAttributes) -> Self
Converts to this type from the input type.
source§impl From<ClientDeviceMessageAttributesV2> for ClientDeviceMessageAttributesV1
impl From<ClientDeviceMessageAttributesV2> for ClientDeviceMessageAttributesV1
source§fn from(other: ClientDeviceMessageAttributesV2) -> Self
fn from(other: ClientDeviceMessageAttributesV2) -> Self
Converts to this type from the input type.
source§impl PartialEq for ClientDeviceMessageAttributesV2
impl PartialEq for ClientDeviceMessageAttributesV2
source§fn eq(&self, other: &ClientDeviceMessageAttributesV2) -> bool
fn eq(&self, other: &ClientDeviceMessageAttributesV2) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ClientDeviceMessageAttributesV2
impl StructuralEq for ClientDeviceMessageAttributesV2
impl StructuralPartialEq for ClientDeviceMessageAttributesV2
Auto Trait Implementations§
impl RefUnwindSafe for ClientDeviceMessageAttributesV2
impl Send for ClientDeviceMessageAttributesV2
impl Sync for ClientDeviceMessageAttributesV2
impl Unpin for ClientDeviceMessageAttributesV2
impl UnwindSafe for ClientDeviceMessageAttributesV2
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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.