Struct buttplug::core::message::StopScanning
source · pub struct StopScanning { /* private fields */ }Trait Implementations§
source§impl ButtplugMessage for StopScanning
impl ButtplugMessage for StopScanning
source§impl ButtplugMessageValidator for StopScanning
impl ButtplugMessageValidator for StopScanning
source§fn is_valid(&self) -> Result<(), ButtplugMessageError>
fn is_valid(&self) -> Result<(), ButtplugMessageError>
Returns () if the message is valid, otherwise returns a message error.
fn is_system_id(&self, id: u32) -> Result<(), ButtplugMessageError>
fn is_not_system_id(&self, id: u32) -> Result<(), ButtplugMessageError>
fn is_in_command_range( &self, value: f64, error_msg: String ) -> Result<(), ButtplugMessageError>
source§impl Clone for StopScanning
impl Clone for StopScanning
source§fn clone(&self) -> StopScanning
fn clone(&self) -> StopScanning
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 StopScanning
impl Debug for StopScanning
source§impl Default for StopScanning
impl Default for StopScanning
source§impl<'de> Deserialize<'de> for StopScanning
impl<'de> Deserialize<'de> for StopScanning
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<StopScanning> for ButtplugClientMessage
impl From<StopScanning> for ButtplugClientMessage
source§fn from(msg: StopScanning) -> ButtplugClientMessage
fn from(msg: StopScanning) -> ButtplugClientMessage
Converts to this type from the input type.
source§impl From<StopScanning> for ButtplugDeviceManagerMessageUnion
impl From<StopScanning> for ButtplugDeviceManagerMessageUnion
source§fn from(msg: StopScanning) -> ButtplugDeviceManagerMessageUnion
fn from(msg: StopScanning) -> ButtplugDeviceManagerMessageUnion
Converts to this type from the input type.
source§impl From<StopScanning> for ButtplugSpecV2ClientMessage
impl From<StopScanning> for ButtplugSpecV2ClientMessage
source§fn from(msg: StopScanning) -> ButtplugSpecV2ClientMessage
fn from(msg: StopScanning) -> ButtplugSpecV2ClientMessage
Converts to this type from the input type.
source§impl From<StopScanning> for ButtplugSpecV3ClientMessage
impl From<StopScanning> for ButtplugSpecV3ClientMessage
source§fn from(msg: StopScanning) -> ButtplugSpecV3ClientMessage
fn from(msg: StopScanning) -> ButtplugSpecV3ClientMessage
Converts to this type from the input type.
source§impl PartialEq for StopScanning
impl PartialEq for StopScanning
source§fn eq(&self, other: &StopScanning) -> bool
fn eq(&self, other: &StopScanning) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for StopScanning
impl Serialize for StopScanning
impl Eq for StopScanning
impl StructuralPartialEq for StopScanning
Auto Trait Implementations§
impl Freeze for StopScanning
impl RefUnwindSafe for StopScanning
impl Send for StopScanning
impl Sync for StopScanning
impl Unpin for StopScanning
impl UnwindSafe for StopScanning
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.