Struct google_chat1::Button
source · pub struct Button {
pub image_button: Option<ImageButton>,
pub text_button: Option<TextButton>,
}
Expand description
A button. Can be a text button or an image button.
This type is not used in any activity, and only used as part of another schema.
Fields
A button with image and onclick action.
A button with text and onclick action.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Button
impl<'de> Deserialize<'de> for Button
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 Button
Auto Trait Implementations
impl RefUnwindSafe for Button
impl Send for Button
impl Sync for Button
impl Unpin for Button
impl UnwindSafe for Button
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