pub struct SimulatePreconnectedPeripheralParams {
pub address: String,
pub name: String,
pub manufacturer_data: Vec<ManufacturerData>,
pub known_service_uuids: Vec<String>,
}Expand description
Simulates a peripheral with |address|, |name| and |knownServiceUuids| that has already been connected to the system.
Parameters of BluetoothEmulation.simulatePreconnectedPeripheral.
Fields§
§address: String§name: String§manufacturer_data: Vec<ManufacturerData>§known_service_uuids: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SimulatePreconnectedPeripheralParams
impl<'de> Deserialize<'de> for SimulatePreconnectedPeripheralParams
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
impl StructuralPartialEq for SimulatePreconnectedPeripheralParams
Auto Trait Implementations§
impl Forget for SimulatePreconnectedPeripheralParams
impl Freeze for SimulatePreconnectedPeripheralParams
impl RefUnwindSafe for SimulatePreconnectedPeripheralParams
impl Send for SimulatePreconnectedPeripheralParams
impl Sync for SimulatePreconnectedPeripheralParams
impl Unpin for SimulatePreconnectedPeripheralParams
impl UnsafeUnpin for SimulatePreconnectedPeripheralParams
impl UnwindSafe for SimulatePreconnectedPeripheralParams
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