Struct gapi_grpc::google::cloud::dialogflow::cx::v3::ImportFlowRequest[][src]

pub struct ImportFlowRequest {
    pub parent: String,
    pub import_option: i32,
    pub flow: Option<Flow>,
}

The request message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow].

Fields

parent: String

Required. The agent to import the flow into. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

import_option: i32

Flow import mode. If not specified, KEEP is assumed.

flow: Option<Flow>

Required. The flow to import.

Implementations

impl ImportFlowRequest[src]

pub fn import_option(&self) -> ImportOption[src]

Returns the enum value of import_option, or the default if the field is set to an invalid enum value.

pub fn set_import_option(&mut self, value: ImportOption)[src]

Sets import_option to the provided enum value.

Trait Implementations

impl Clone for ImportFlowRequest[src]

impl Debug for ImportFlowRequest[src]

impl Default for ImportFlowRequest[src]

impl Message for ImportFlowRequest[src]

impl PartialEq<ImportFlowRequest> for ImportFlowRequest[src]

impl StructuralPartialEq for ImportFlowRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ImportFlowRequest

impl Send for ImportFlowRequest

impl Sync for ImportFlowRequest

impl Unpin for ImportFlowRequest

impl UnwindSafe for ImportFlowRequest

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]