pub struct GoogleCloudDialogflowV2FulfillmentGenericWebService {
pub is_cloud_function: Option<bool>,
pub password: Option<String>,
pub request_headers: Option<HashMap<String, String>>,
pub uri: Option<String>,
pub username: Option<String>,
}
Expand description
Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications: - Basic authentication with username and password. - Authentication with additional authentication headers. More information could be found at: https://cloud.google.com/dialogflow/docs/fulfillment-configure.
This type is not used in any activity, and only used as part of another schema.
Fields§
§is_cloud_function: Option<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.
password: Option<String>
Optional. The password for HTTP Basic authentication.
request_headers: Option<HashMap<String, String>>
Optional. The HTTP request headers to send together with fulfillment requests.
uri: Option<String>
Required. The fulfillment URI for receiving POST requests. It must use https protocol.
username: Option<String>
Optional. The user name for HTTP Basic authentication.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowV2FulfillmentGenericWebService
impl Clone for GoogleCloudDialogflowV2FulfillmentGenericWebService
Source§fn clone(&self) -> GoogleCloudDialogflowV2FulfillmentGenericWebService
fn clone(&self) -> GoogleCloudDialogflowV2FulfillmentGenericWebService
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudDialogflowV2FulfillmentGenericWebService
impl Default for GoogleCloudDialogflowV2FulfillmentGenericWebService
Source§fn default() -> GoogleCloudDialogflowV2FulfillmentGenericWebService
fn default() -> GoogleCloudDialogflowV2FulfillmentGenericWebService
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2FulfillmentGenericWebService
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2FulfillmentGenericWebService
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for GoogleCloudDialogflowV2FulfillmentGenericWebService
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowV2FulfillmentGenericWebService
impl RefUnwindSafe for GoogleCloudDialogflowV2FulfillmentGenericWebService
impl Send for GoogleCloudDialogflowV2FulfillmentGenericWebService
impl Sync for GoogleCloudDialogflowV2FulfillmentGenericWebService
impl Unpin for GoogleCloudDialogflowV2FulfillmentGenericWebService
impl UnwindSafe for GoogleCloudDialogflowV2FulfillmentGenericWebService
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more