pub struct WearablePeer {
pub id: String,
pub name: String,
pub has_app: bool,
}Expand description
A connected phone or watch.
Fields§
§id: StringThe platform’s identifier of the device, the peer the other calls take.
name: StringThe name the person gave the device.
has_app: boolWhether this application is installed on the device.
Trait Implementations§
Source§impl Clone for WearablePeer
impl Clone for WearablePeer
Source§impl Debug for WearablePeer
impl Debug for WearablePeer
impl Eq for WearablePeer
Source§impl PartialEq for WearablePeer
impl PartialEq for WearablePeer
impl StructuralPartialEq for WearablePeer
Auto Trait Implementations§
impl Freeze for WearablePeer
impl RefUnwindSafe for WearablePeer
impl Send for WearablePeer
impl Sync for WearablePeer
impl Unpin for WearablePeer
impl UnsafeUnpin for WearablePeer
impl UnwindSafe for WearablePeer
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