pub struct MiniAppAction {
pub action_type: MiniAppActionType,
pub url: Option<String>,
pub name: Option<String>,
pub splash_image_url: Option<String>,
pub splash_background_color: Option<String>,
}Expand description
Mini App action
Fields§
§action_type: MiniAppActionTypeAction type
url: Option<String>App URL to open
name: Option<String>Name of the application
splash_image_url: Option<String>URL of image to show on loading screen
splash_background_color: Option<String>Hex color code to use on loading screen
Trait Implementations§
Source§impl Clone for MiniAppAction
impl Clone for MiniAppAction
Source§fn clone(&self) -> MiniAppAction
fn clone(&self) -> MiniAppAction
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 MiniAppAction
impl Debug for MiniAppAction
Source§impl<'de> Deserialize<'de> for MiniAppAction
impl<'de> Deserialize<'de> for MiniAppAction
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 MiniAppAction
impl RefUnwindSafe for MiniAppAction
impl Send for MiniAppAction
impl Sync for MiniAppAction
impl Unpin for MiniAppAction
impl UnsafeUnpin for MiniAppAction
impl UnwindSafe for MiniAppAction
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