Struct google_chat1::api::OnClick [−][src]
pub struct OnClick {
pub action: Option<FormAction>,
pub open_link: Option<OpenLink>,
}
Expand description
An onclick action (e.g. open a link).
This type is not used in any activity, and only used as part of another schema.
Fields
action: Option<FormAction>
A form action will be triggered by this onclick if specified.
open_link: Option<OpenLink>
This onclick triggers an open link action if specified.
Trait Implementations
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 OnClick
impl UnwindSafe for OnClick
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more