Struct google_chat1::FormAction
source · 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>
Apps Script function to invoke when the containing element is clicked/activated.
parameters: Option<Vec<ActionParameter>>
List of action parameters.
Trait Implementations
sourceimpl Clone for FormAction
impl Clone for FormAction
sourcefn clone(&self) -> FormAction
fn clone(&self) -> FormAction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FormAction
impl Debug for FormAction
sourceimpl Default for FormAction
impl Default for FormAction
sourcefn default() -> FormAction
fn default() -> FormAction
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FormAction
impl<'de> Deserialize<'de> for FormAction
sourcefn 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
sourceimpl Serialize for FormAction
impl Serialize for FormAction
impl Part for FormAction
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more