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. simulatePreconnectedPeripheral
Fields§
§address: String§name: String§manufacturer_data: Vec<ManufacturerData>§known_service_uuids: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for SimulatePreconnectedPeripheralParams
impl Clone for SimulatePreconnectedPeripheralParams
Source§fn clone(&self) -> SimulatePreconnectedPeripheralParams
fn clone(&self) -> SimulatePreconnectedPeripheralParams
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 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
Source§impl PartialEq for SimulatePreconnectedPeripheralParams
impl PartialEq for SimulatePreconnectedPeripheralParams
Source§fn eq(&self, other: &SimulatePreconnectedPeripheralParams) -> bool
fn eq(&self, other: &SimulatePreconnectedPeripheralParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SimulatePreconnectedPeripheralParams
Auto Trait Implementations§
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