Struct gapi_grpc::google::cloud::dialogflow::v2beta1::fulfillment::GenericWebService[][src]

pub struct GenericWebService {
    pub uri: String,
    pub username: String,
    pub password: String,
    pub request_headers: HashMap<String, String>,
    pub is_cloud_function: bool,
}

Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications:

Fields

uri: String

Required. The fulfillment URI for receiving POST requests. It must use https protocol.

username: String

The user name for HTTP Basic authentication.

password: String

The password for HTTP Basic authentication.

request_headers: HashMap<String, String>

The HTTP request headers to send together with fulfillment requests.

is_cloud_function: bool

Optional. Indicates if generic web service is created through Cloud Functions integration. Defaults to false.

is_cloud_function is deprecated. Cloud functions can be configured by its uri as a regular web service now.

Trait Implementations

impl Clone for GenericWebService[src]

impl Debug for GenericWebService[src]

impl Default for GenericWebService[src]

impl Message for GenericWebService[src]

impl PartialEq<GenericWebService> for GenericWebService[src]

impl StructuralPartialEq for GenericWebService[src]

Auto Trait Implementations

impl RefUnwindSafe for GenericWebService

impl Send for GenericWebService

impl Sync for GenericWebService

impl Unpin for GenericWebService

impl UnwindSafe for GenericWebService

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]