Struct google_chat1::OnClick
source · pub struct OnClick {
pub open_link: Option<OpenLink>,
pub action: Option<FormAction>,
}
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
open_link: Option<OpenLink>
This onclick triggers an open link action if specified.
action: Option<FormAction>
A form action will be trigger by this onclick if specified.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for OnClick
impl<'de> Deserialize<'de> for OnClick
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
impl Part for OnClick
Auto Trait Implementations
impl RefUnwindSafe for OnClick
impl Send for OnClick
impl Sync for OnClick
impl Unpin for OnClick
impl UnwindSafe for OnClick
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