pub struct GoogleCloudDialogflowCxV3FormParameter {
pub advanced_settings: Option<GoogleCloudDialogflowCxV3AdvancedSettings>,
pub default_value: Option<Value>,
pub display_name: Option<String>,
pub entity_type: Option<String>,
pub fill_behavior: Option<GoogleCloudDialogflowCxV3FormParameterFillBehavior>,
pub is_list: Option<bool>,
pub redact: Option<bool>,
pub required: Option<bool>,
}Expand description
Represents a form parameter.
This type is not used in any activity, and only used as part of another schema.
Fields§
§advanced_settings: Option<GoogleCloudDialogflowCxV3AdvancedSettings>Hierarchical advanced settings for this parameter. The settings exposed at the lower level overrides the settings exposed at the higher level.
default_value: Option<Value>The default value of an optional parameter. If the parameter is required, the default value will be ignored.
display_name: Option<String>Required. The human-readable name of the parameter, unique within the form.
entity_type: Option<String>Required. The entity type of the parameter. Format: projects/-/locations/-/agents/-/entityTypes/ for system entity types (for example, projects/-/locations/-/agents/-/entityTypes/sys.date), or projects//locations//agents//entityTypes/ for developer entity types.
fill_behavior: Option<GoogleCloudDialogflowCxV3FormParameterFillBehavior>Required. Defines fill behavior for the parameter.
is_list: Option<bool>Indicates whether the parameter represents a list of values.
redact: Option<bool>Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction or entity type level redaction is enabled.
required: Option<bool>Indicates whether the parameter is required. Optional parameters will not trigger prompts; however, they are filled if the user specifies them. Required parameters must be filled before form filling concludes.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowCxV3FormParameter
impl Clone for GoogleCloudDialogflowCxV3FormParameter
Source§fn clone(&self) -> GoogleCloudDialogflowCxV3FormParameter
fn clone(&self) -> GoogleCloudDialogflowCxV3FormParameter
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudDialogflowCxV3FormParameter
impl Default for GoogleCloudDialogflowCxV3FormParameter
Source§fn default() -> GoogleCloudDialogflowCxV3FormParameter
fn default() -> GoogleCloudDialogflowCxV3FormParameter
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3FormParameter
impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3FormParameter
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 GoogleCloudDialogflowCxV3FormParameter
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowCxV3FormParameter
impl RefUnwindSafe for GoogleCloudDialogflowCxV3FormParameter
impl Send for GoogleCloudDialogflowCxV3FormParameter
impl Sync for GoogleCloudDialogflowCxV3FormParameter
impl Unpin for GoogleCloudDialogflowCxV3FormParameter
impl UnwindSafe for GoogleCloudDialogflowCxV3FormParameter
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