Struct google_chat1::api::ActionParameter [−][src]
Expand description
List of string parameters to supply when the action method is invoked. For example, consider three snooze buttons: snooze now, snooze 1 day, snooze next week. You might use action method = snooze(), passing the snooze type and snooze time in the list of string parameters.
This type is not used in any activity, and only used as part of another schema.
Fields
key: Option<String>
The name of the parameter for the action script.
value: Option<String>
The value of the parameter.
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 ActionParameter
impl Send for ActionParameter
impl Sync for ActionParameter
impl Unpin for ActionParameter
impl UnwindSafe for ActionParameter
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more