Struct gapi_grpc::google::cloud::dialogflow::v2beta1::UpdateEnvironmentRequest[][src]

pub struct UpdateEnvironmentRequest {
    pub environment: Option<Environment>,
    pub update_mask: Option<FieldMask>,
    pub allow_load_to_draft_and_discard_changes: bool,
}

The request message for [Environments.UpdateEnvironment][google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment].

Fields

environment: Option<Environment>

Required. The environment to update.

update_mask: Option<FieldMask>

Required. The mask to control which fields get updated.

allow_load_to_draft_and_discard_changes: bool

Optional. This field is used to prevent accidental overwrite of the draft environment, which is an operation that cannot be undone. To confirm that the caller desires this overwrite, this field must be explicitly set to true when updating the draft environment (environment ID = -).

Trait Implementations

impl Clone for UpdateEnvironmentRequest[src]

impl Debug for UpdateEnvironmentRequest[src]

impl Default for UpdateEnvironmentRequest[src]

impl Message for UpdateEnvironmentRequest[src]

impl PartialEq<UpdateEnvironmentRequest> for UpdateEnvironmentRequest[src]

impl StructuralPartialEq for UpdateEnvironmentRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for UpdateEnvironmentRequest

impl Send for UpdateEnvironmentRequest

impl Sync for UpdateEnvironmentRequest

impl Unpin for UpdateEnvironmentRequest

impl UnwindSafe for UpdateEnvironmentRequest

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]