pub struct MiniAppButton {
pub title: String,
pub action: MiniAppAction,
}Expand description
Mini App button
Fields§
§title: StringMini App name
action: MiniAppActionButton action
Trait Implementations§
Source§impl Clone for MiniAppButton
impl Clone for MiniAppButton
Source§fn clone(&self) -> MiniAppButton
fn clone(&self) -> MiniAppButton
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MiniAppButton
impl Debug for MiniAppButton
Source§impl<'de> Deserialize<'de> for MiniAppButton
impl<'de> Deserialize<'de> for MiniAppButton
Source§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 Freeze for MiniAppButton
impl RefUnwindSafe for MiniAppButton
impl Send for MiniAppButton
impl Sync for MiniAppButton
impl Unpin for MiniAppButton
impl UnsafeUnpin for MiniAppButton
impl UnwindSafe for MiniAppButton
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more