pub struct MiniAppEmbed {
pub version: String,
pub image_url: String,
pub button: MiniAppButton,
}Expand description
Mini App embed
Fields§
§version: StringVersion of the embed
image_url: StringImage URL for the embed
Button configuration
Trait Implementations§
Source§impl Clone for MiniAppEmbed
impl Clone for MiniAppEmbed
Source§fn clone(&self) -> MiniAppEmbed
fn clone(&self) -> MiniAppEmbed
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 MiniAppEmbed
impl Debug for MiniAppEmbed
Source§impl<'de> Deserialize<'de> for MiniAppEmbed
impl<'de> Deserialize<'de> for MiniAppEmbed
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 MiniAppEmbed
impl RefUnwindSafe for MiniAppEmbed
impl Send for MiniAppEmbed
impl Sync for MiniAppEmbed
impl Unpin for MiniAppEmbed
impl UnsafeUnpin for MiniAppEmbed
impl UnwindSafe for MiniAppEmbed
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