pub struct SimulateCharacteristicOperationResponseReturns {}Expand description
Simulates the response from the characteristic with |characteristicId| for a characteristic operation of |type|. The |code| value follows the Error Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response. The |data| is expected to exist when simulating a successful read operation response. simulateCharacteristicOperationResponse
Trait Implementations§
Source§impl Clone for SimulateCharacteristicOperationResponseReturns
impl Clone for SimulateCharacteristicOperationResponseReturns
Source§fn clone(&self) -> SimulateCharacteristicOperationResponseReturns
fn clone(&self) -> SimulateCharacteristicOperationResponseReturns
Returns a duplicate 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 Default for SimulateCharacteristicOperationResponseReturns
impl Default for SimulateCharacteristicOperationResponseReturns
Source§fn default() -> SimulateCharacteristicOperationResponseReturns
fn default() -> SimulateCharacteristicOperationResponseReturns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SimulateCharacteristicOperationResponseReturns
impl<'de> Deserialize<'de> for SimulateCharacteristicOperationResponseReturns
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SimulateCharacteristicOperationResponseReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SimulateCharacteristicOperationResponseReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SimulateCharacteristicOperationResponseReturns
impl PartialEq for SimulateCharacteristicOperationResponseReturns
Source§fn eq(&self, other: &SimulateCharacteristicOperationResponseReturns) -> bool
fn eq(&self, other: &SimulateCharacteristicOperationResponseReturns) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SimulateCharacteristicOperationResponseReturns
impl Serialize for SimulateCharacteristicOperationResponseReturns
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SimulateCharacteristicOperationResponseReturns
Auto Trait Implementations§
impl Freeze for SimulateCharacteristicOperationResponseReturns
impl RefUnwindSafe for SimulateCharacteristicOperationResponseReturns
impl Send for SimulateCharacteristicOperationResponseReturns
impl Sync for SimulateCharacteristicOperationResponseReturns
impl Unpin for SimulateCharacteristicOperationResponseReturns
impl UnwindSafe for SimulateCharacteristicOperationResponseReturns
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