Struct google_chat1::api::FormAction [−][src]
pub struct FormAction {
pub action_method_name: Option<String>,
pub parameters: Option<Vec<ActionParameter>>,
}
Expand description
A form action describes the behavior when the form is submitted. For example, an Apps Script can be invoked to handle the form.
This type is not used in any activity, and only used as part of another schema.
Fields
action_method_name: Option<String>
The method name is used to identify which part of the form triggered the form submission. This information is echoed back to the bot as part of the card click event. The same method name can be used for several elements that trigger a common behavior if desired.
parameters: Option<Vec<ActionParameter>>
List of action parameters.
Trait Implementations
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for FormAction
impl Send for FormAction
impl Sync for FormAction
impl Unpin for FormAction
impl UnwindSafe for FormAction
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more