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<NullDeviceMessageAttributesV1>
pub fn rssi_level_cmd(&self) -> &Option<NullDeviceMessageAttributesV1>
pub fn stop_device_cmd(&self) -> &NullDeviceMessageAttributesV1
pub fn raw_read_cmd(&self) -> &Option<RawDeviceMessageAttributesV2>
pub fn raw_write_cmd(&self) -> &Option<RawDeviceMessageAttributesV2>
pub fn raw_subscribe_cmd(&self) -> &Option<RawDeviceMessageAttributesV2>
pub fn raw_unsubscribe_cmd(&self) -> &Option<RawDeviceMessageAttributesV2>
pub fn fleshlight_launch_fw12_cmd( &self, ) -> &Option<NullDeviceMessageAttributesV1>
pub fn vorze_a10_cyclone_cmd(&self) -> &Option<NullDeviceMessageAttributesV1>
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<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 From<ClientDeviceMessageAttributesV3> for ClientDeviceMessageAttributesV2
impl From<ClientDeviceMessageAttributesV3> for ClientDeviceMessageAttributesV2
source§fn from(other: ClientDeviceMessageAttributesV3) -> Self
fn from(other: ClientDeviceMessageAttributesV3) -> 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
Tests for
self and other values to be equal, and is used by ==.impl Eq for ClientDeviceMessageAttributesV2
impl StructuralPartialEq for ClientDeviceMessageAttributesV2
Auto Trait Implementations§
impl Freeze for ClientDeviceMessageAttributesV2
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)