Struct google_chat1::CardAction
source · Expand description
A card action is the action associated with the card. For an invoice card, a typical action would be: delete invoice, email invoice or open the invoice in browser.
This type is not used in any activity, and only used as part of another schema.
Fields
action_label: Option<String>
The label used to be displayed in the action menu item.
on_click: Option<OnClick>
The onclick action for this action item.
Trait Implementations
sourceimpl Clone for CardAction
impl Clone for CardAction
sourcefn clone(&self) -> CardAction
fn clone(&self) -> CardAction
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 CardAction
impl Debug for CardAction
sourceimpl Default for CardAction
impl Default for CardAction
sourcefn default() -> CardAction
fn default() -> CardAction
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CardAction
impl<'de> Deserialize<'de> for CardAction
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 CardAction
impl Serialize for CardAction
impl Part for CardAction
Auto Trait Implementations
impl RefUnwindSafe for CardAction
impl Send for CardAction
impl Sync for CardAction
impl Unpin for CardAction
impl UnwindSafe for CardAction
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