Struct peertalk::DeviceAttachedInfo[][src]

pub struct DeviceAttachedInfo {
    pub connection_type: DeviceConnectionType,
    pub device_id: DeviceId,
    pub location_id: u64,
    pub product_type: ProductType,
    pub identifier: String,
}
Expand description

Info about an attached device

Fields

connection_type: DeviceConnectionType

Type of connection device is using (USB or otherwise)

device_id: DeviceId

ID of device

location_id: u64

Unknown purpose/value

product_type: ProductType

Product type of device, ipad, ipod, iphone, mysterious other device

identifier: String

Device’s identifier/serial

Trait Implementations

Formats the value using the given formatter. Read more

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.