pub struct RemoveService {
pub method: RemoveServiceMethod,
pub params: RemoveServiceParams,
}Expand description
Removes the service respresented by |serviceId| from the simulated central. removeService
Fields§
§method: RemoveServiceMethod§params: RemoveServiceParamsImplementations§
Source§impl RemoveService
impl RemoveService
pub fn builder() -> RemoveServiceBuilder
Source§impl RemoveService
impl RemoveService
pub const IDENTIFIER: &'static str = "BluetoothEmulation.removeService"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for RemoveService
impl Clone for RemoveService
Source§fn clone(&self) -> RemoveService
fn clone(&self) -> RemoveService
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 RemoveService
impl CommandResult for RemoveService
type Result = RemoveServiceResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for RemoveService
impl Debug for RemoveService
Source§impl<'de> Deserialize<'de> for RemoveService
impl<'de> Deserialize<'de> for RemoveService
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<RemoveService> for BluetoothEmulationCommands
impl From<RemoveService> for BluetoothEmulationCommands
Source§fn from(v: RemoveService) -> Self
fn from(v: RemoveService) -> Self
Converts to this type from the input type.
Source§impl From<RemoveService> for BrowserProtocolCommands
impl From<RemoveService> for BrowserProtocolCommands
Source§fn from(v: RemoveService) -> Self
fn from(v: RemoveService) -> Self
Converts to this type from the input type.
Source§impl From<RemoveService> for Command
impl From<RemoveService> for Command
Source§fn from(v: RemoveService) -> Self
fn from(v: RemoveService) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RemoveService
impl PartialEq for RemoveService
Source§impl Serialize for RemoveService
impl Serialize for RemoveService
Source§impl TryFrom<BluetoothEmulationCommands> for RemoveService
impl TryFrom<BluetoothEmulationCommands> for RemoveService
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, <RemoveService as TryFrom<BluetoothEmulationCommands>>::Error>
fn try_from( e: BluetoothEmulationCommands, ) -> Result<Self, <RemoveService as TryFrom<BluetoothEmulationCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for RemoveService
impl TryFrom<BrowserProtocolCommands> for RemoveService
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, <RemoveService as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <RemoveService as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for RemoveService
impl TryFrom<Command> for RemoveService
impl StructuralPartialEq for RemoveService
Auto Trait Implementations§
impl Freeze for RemoveService
impl RefUnwindSafe for RemoveService
impl Send for RemoveService
impl Sync for RemoveService
impl Unpin for RemoveService
impl UnsafeUnpin for RemoveService
impl UnwindSafe for RemoveService
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