Struct gapi_grpc::google::devtools::remoteworkers::v1test2::Device[][src]

pub struct Device {
    pub handle: String,
    pub properties: Vec<Property>,
}

Any device, including computers, phones, accelerators (e.g. GPUs), etc. All names must be unique.

Fields

handle: String

The handle can be thought of as the “name” of the device, and must be unique within a Worker.

In the Status context, the handle should be some human-understandable name, perhaps corresponding to a label physically written on the device to make it easy to locate. In the Request context, the name should be the logical name expected by the task. The bot is responsible for mapping the logical name expected by the task to a machine-readable name that the task can actually use, such as a USB address. The method by which this mapping is communicated to the task is not covered in this API.

properties: Vec<Property>

Properties of this device that don’t change based on the tasks that are running on it, e.g. OS, CPU architecture, etc.

Keys may be repeated, and have the following interpretation:

Trait Implementations

impl Clone for Device[src]

impl Debug for Device[src]

impl Default for Device[src]

impl Message for Device[src]

impl PartialEq<Device> for Device[src]

impl StructuralPartialEq for Device[src]

Auto Trait Implementations

impl RefUnwindSafe for Device

impl Send for Device

impl Sync for Device

impl Unpin for Device

impl UnwindSafe for Device

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]