pub struct SimulatePreconnectedPeripheral {
pub address: String,
pub name: String,
pub manufacturer_data: Vec<ManufacturerData>,
pub known_service_uuids: Vec<String>,
}Fields§
§address: String§name: String§manufacturer_data: Vec<ManufacturerData>§known_service_uuids: Vec<String>Trait Implementations§
Source§impl Clone for SimulatePreconnectedPeripheral
impl Clone for SimulatePreconnectedPeripheral
Source§fn clone(&self) -> SimulatePreconnectedPeripheral
fn clone(&self) -> SimulatePreconnectedPeripheral
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 SimulatePreconnectedPeripheral
impl<'de> Deserialize<'de> for SimulatePreconnectedPeripheral
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 Method for SimulatePreconnectedPeripheral
impl Method for SimulatePreconnectedPeripheral
const NAME: &'static str = "BluetoothEmulation.simulatePreconnectedPeripheral"
type ReturnObject = SimulatePreconnectedPeripheralReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for SimulatePreconnectedPeripheral
impl PartialEq for SimulatePreconnectedPeripheral
Source§fn eq(&self, other: &SimulatePreconnectedPeripheral) -> bool
fn eq(&self, other: &SimulatePreconnectedPeripheral) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SimulatePreconnectedPeripheral
Auto Trait Implementations§
impl Freeze for SimulatePreconnectedPeripheral
impl RefUnwindSafe for SimulatePreconnectedPeripheral
impl Send for SimulatePreconnectedPeripheral
impl Sync for SimulatePreconnectedPeripheral
impl Unpin for SimulatePreconnectedPeripheral
impl UnwindSafe for SimulatePreconnectedPeripheral
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