Struct google_chat1::ActionParameter
source · 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
value: Option<String>
The value of the parameter.
key: Option<String>
The name of the parameter for the action script.
Trait Implementations
sourceimpl Clone for ActionParameter
impl Clone for ActionParameter
sourcefn clone(&self) -> ActionParameter
fn clone(&self) -> ActionParameter
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 ActionParameter
impl Debug for ActionParameter
sourceimpl Default for ActionParameter
impl Default for ActionParameter
sourcefn default() -> ActionParameter
fn default() -> ActionParameter
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ActionParameter
impl<'de> Deserialize<'de> for ActionParameter
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 ActionParameter
impl Serialize for ActionParameter
impl Part for ActionParameter
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
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