pub struct SetSimulatedCentralState {
pub method: SetSimulatedCentralStateMethod,
pub params: SetSimulatedCentralStateParams,
}Expand description
Set the state of the simulated central. setSimulatedCentralState
Fields§
§method: SetSimulatedCentralStateMethod§params: SetSimulatedCentralStateParamsImplementations§
Source§impl SetSimulatedCentralState
impl SetSimulatedCentralState
pub const IDENTIFIER: &'static str = "BluetoothEmulation.setSimulatedCentralState"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetSimulatedCentralState
impl Clone for SetSimulatedCentralState
Source§fn clone(&self) -> SetSimulatedCentralState
fn clone(&self) -> SetSimulatedCentralState
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 SetSimulatedCentralState
impl CommandResult for SetSimulatedCentralState
type Result = SetSimulatedCentralStateResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetSimulatedCentralState
impl Debug for SetSimulatedCentralState
Source§impl<'de> Deserialize<'de> for SetSimulatedCentralState
impl<'de> Deserialize<'de> for SetSimulatedCentralState
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<SetSimulatedCentralState> for BluetoothEmulationCommands
impl From<SetSimulatedCentralState> for BluetoothEmulationCommands
Source§fn from(v: SetSimulatedCentralState) -> Self
fn from(v: SetSimulatedCentralState) -> Self
Converts to this type from the input type.
Source§impl From<SetSimulatedCentralState> for BrowserProtocolCommands
impl From<SetSimulatedCentralState> for BrowserProtocolCommands
Source§fn from(v: SetSimulatedCentralState) -> Self
fn from(v: SetSimulatedCentralState) -> Self
Converts to this type from the input type.
Source§impl From<SetSimulatedCentralState> for Command
impl From<SetSimulatedCentralState> for Command
Source§fn from(v: SetSimulatedCentralState) -> Self
fn from(v: SetSimulatedCentralState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetSimulatedCentralState
impl PartialEq for SetSimulatedCentralState
Source§impl Serialize for SetSimulatedCentralState
impl Serialize for SetSimulatedCentralState
Source§impl TryFrom<BluetoothEmulationCommands> for SetSimulatedCentralState
impl TryFrom<BluetoothEmulationCommands> for SetSimulatedCentralState
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, <SetSimulatedCentralState as TryFrom<BluetoothEmulationCommands>>::Error>
fn try_from( e: BluetoothEmulationCommands, ) -> Result<Self, <SetSimulatedCentralState as TryFrom<BluetoothEmulationCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for SetSimulatedCentralState
impl TryFrom<BrowserProtocolCommands> for SetSimulatedCentralState
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, <SetSimulatedCentralState as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetSimulatedCentralState as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetSimulatedCentralState
impl TryFrom<Command> for SetSimulatedCentralState
impl StructuralPartialEq for SetSimulatedCentralState
Auto Trait Implementations§
impl Freeze for SetSimulatedCentralState
impl RefUnwindSafe for SetSimulatedCentralState
impl Send for SetSimulatedCentralState
impl Sync for SetSimulatedCentralState
impl Unpin for SetSimulatedCentralState
impl UnsafeUnpin for SetSimulatedCentralState
impl UnwindSafe for SetSimulatedCentralState
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