pub struct SimulateCharacteristicOperationResponse {
pub characteristic_id: String,
pub type: CharacteristicOperationType,
pub code: JsUInt,
pub data: Option<Vec<u8>>,
}Fields§
§characteristic_id: String§type: CharacteristicOperationType§code: JsUInt§data: Option<Vec<u8>>Trait Implementations§
Source§impl Clone for SimulateCharacteristicOperationResponse
impl Clone for SimulateCharacteristicOperationResponse
Source§fn clone(&self) -> SimulateCharacteristicOperationResponse
fn clone(&self) -> SimulateCharacteristicOperationResponse
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<'de> Deserialize<'de> for SimulateCharacteristicOperationResponse
impl<'de> Deserialize<'de> for SimulateCharacteristicOperationResponse
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 Method for SimulateCharacteristicOperationResponse
impl Method for SimulateCharacteristicOperationResponse
const NAME: &'static str = "BluetoothEmulation.simulateCharacteristicOperationResponse"
type ReturnObject = SimulateCharacteristicOperationResponseReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for SimulateCharacteristicOperationResponse
impl PartialEq for SimulateCharacteristicOperationResponse
Source§fn eq(&self, other: &SimulateCharacteristicOperationResponse) -> bool
fn eq(&self, other: &SimulateCharacteristicOperationResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SimulateCharacteristicOperationResponse
Auto Trait Implementations§
impl Freeze for SimulateCharacteristicOperationResponse
impl RefUnwindSafe for SimulateCharacteristicOperationResponse
impl Send for SimulateCharacteristicOperationResponse
impl Sync for SimulateCharacteristicOperationResponse
impl Unpin for SimulateCharacteristicOperationResponse
impl UnwindSafe for SimulateCharacteristicOperationResponse
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