Struct gapi_grpc::google::cloud::iot::v1::GetDeviceRequest[][src]

pub struct GetDeviceRequest {
    pub name: String,
    pub field_mask: Option<FieldMask>,
}

Request for GetDevice.

Fields

name: String

Required. The name of the device. For example, projects/p0/locations/us-central1/registries/registry0/devices/device0 or projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.

field_mask: Option<FieldMask>

The fields of the Device resource to be returned in the response. If the field mask is unset or empty, all fields are returned. Fields have to be provided in snake_case format, for example: last_heartbeat_time.

Trait Implementations

impl Clone for GetDeviceRequest[src]

impl Debug for GetDeviceRequest[src]

impl Default for GetDeviceRequest[src]

impl Message for GetDeviceRequest[src]

impl PartialEq<GetDeviceRequest> for GetDeviceRequest[src]

impl StructuralPartialEq for GetDeviceRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for GetDeviceRequest

impl Send for GetDeviceRequest

impl Sync for GetDeviceRequest

impl Unpin for GetDeviceRequest

impl UnwindSafe for GetDeviceRequest

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]