pub struct RemoveCharacteristic {
pub method: RemoveCharacteristicMethod,
pub params: RemoveCharacteristicParams,
}Expand description
Removes the characteristic respresented by |characteristicId| from the simulated central. removeCharacteristic
Fields§
§method: RemoveCharacteristicMethod§params: RemoveCharacteristicParamsImplementations§
Source§impl RemoveCharacteristic
impl RemoveCharacteristic
pub fn builder() -> RemoveCharacteristicBuilder
Source§impl RemoveCharacteristic
impl RemoveCharacteristic
pub const IDENTIFIER: &'static str = "BluetoothEmulation.removeCharacteristic"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for RemoveCharacteristic
impl Clone for RemoveCharacteristic
Source§fn clone(&self) -> RemoveCharacteristic
fn clone(&self) -> RemoveCharacteristic
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 CommandResult for RemoveCharacteristic
impl CommandResult for RemoveCharacteristic
type Result = RemoveCharacteristicResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for RemoveCharacteristic
impl Debug for RemoveCharacteristic
Source§impl<'de> Deserialize<'de> for RemoveCharacteristic
impl<'de> Deserialize<'de> for RemoveCharacteristic
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<RemoveCharacteristic> for BluetoothEmulationCommands
impl From<RemoveCharacteristic> for BluetoothEmulationCommands
Source§fn from(v: RemoveCharacteristic) -> Self
fn from(v: RemoveCharacteristic) -> Self
Converts to this type from the input type.
Source§impl From<RemoveCharacteristic> for BrowserProtocolCommands
impl From<RemoveCharacteristic> for BrowserProtocolCommands
Source§fn from(v: RemoveCharacteristic) -> Self
fn from(v: RemoveCharacteristic) -> Self
Converts to this type from the input type.
Source§impl From<RemoveCharacteristic> for Command
impl From<RemoveCharacteristic> for Command
Source§fn from(v: RemoveCharacteristic) -> Self
fn from(v: RemoveCharacteristic) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RemoveCharacteristic
impl PartialEq for RemoveCharacteristic
Source§impl Serialize for RemoveCharacteristic
impl Serialize for RemoveCharacteristic
Source§impl TryFrom<BluetoothEmulationCommands> for RemoveCharacteristic
impl TryFrom<BluetoothEmulationCommands> for RemoveCharacteristic
Source§type Error = BluetoothEmulationCommands
type Error = BluetoothEmulationCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BluetoothEmulationCommands,
) -> Result<Self, <RemoveCharacteristic as TryFrom<BluetoothEmulationCommands>>::Error>
fn try_from( e: BluetoothEmulationCommands, ) -> Result<Self, <RemoveCharacteristic as TryFrom<BluetoothEmulationCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for RemoveCharacteristic
impl TryFrom<BrowserProtocolCommands> for RemoveCharacteristic
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <RemoveCharacteristic as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <RemoveCharacteristic as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for RemoveCharacteristic
impl TryFrom<Command> for RemoveCharacteristic
impl StructuralPartialEq for RemoveCharacteristic
Auto Trait Implementations§
impl Freeze for RemoveCharacteristic
impl RefUnwindSafe for RemoveCharacteristic
impl Send for RemoveCharacteristic
impl Sync for RemoveCharacteristic
impl Unpin for RemoveCharacteristic
impl UnsafeUnpin for RemoveCharacteristic
impl UnwindSafe for RemoveCharacteristic
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