Struct google_chat1::TextButton
source · Expand description
A button with text and onclick action.
This type is not used in any activity, and only used as part of another schema.
Fields
text: Option<String>
The text of the button.
on_click: Option<OnClick>
The onclick action of the button.
Trait Implementations
sourceimpl Clone for TextButton
impl Clone for TextButton
sourcefn clone(&self) -> TextButton
fn clone(&self) -> TextButton
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 TextButton
impl Debug for TextButton
sourceimpl Default for TextButton
impl Default for TextButton
sourcefn default() -> TextButton
fn default() -> TextButton
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TextButton
impl<'de> Deserialize<'de> for TextButton
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 TextButton
impl Serialize for TextButton
impl Part for TextButton
Auto Trait Implementations
impl RefUnwindSafe for TextButton
impl Send for TextButton
impl Sync for TextButton
impl Unpin for TextButton
impl UnwindSafe for TextButton
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