Struct bluetooth_serial_port::BtDevice
[−]
[src]
pub struct BtDevice { pub name: String, pub addr: BtAddr, }
A device with its a name and address.
Fields
name: String
The name of the device.
addr: BtAddr
The MAC address of the device.
Methods
impl BtDevice
[src]
Trait Implementations
impl Debug for BtDevice
[src]
impl Clone for BtDevice
[src]
fn clone(&self) -> BtDevice
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for BtDevice
[src]
fn eq(&self, __arg_0: &BtDevice) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BtDevice) -> bool
This method tests for !=
.