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

pub struct CreateDeviceRequest {
    pub parent: String,
    pub device: Option<Device>,
}

Request for CreateDevice.

Fields

parent: String

Required. The name of the device registry where this device should be created. For example, projects/example-project/locations/us-central1/registries/my-registry.

device: Option<Device>

Required. The device registration details. The field name must be empty. The server generates name from the device registry id and the parent field.

Trait Implementations

impl Clone for CreateDeviceRequest[src]

impl Debug for CreateDeviceRequest[src]

impl Default for CreateDeviceRequest[src]

impl Message for CreateDeviceRequest[src]

impl PartialEq<CreateDeviceRequest> for CreateDeviceRequest[src]

impl StructuralPartialEq for CreateDeviceRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateDeviceRequest

impl Send for CreateDeviceRequest

impl Sync for CreateDeviceRequest

impl Unpin for CreateDeviceRequest

impl UnwindSafe for CreateDeviceRequest

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]