pub struct MarketplaceApp {Show 21 fields
pub id: String,
pub name: String,
pub description: String,
pub version: String,
pub blossom_hash: String,
pub download_url: String,
pub size: u64,
pub icon_url: Option<String>,
pub icon_mime: Option<String>,
pub icon_cached: Option<String>,
pub categories: Vec<String>,
pub changelog: Option<String>,
pub developer: Option<String>,
pub source_url: Option<String>,
pub publisher: String,
pub published_at: u64,
pub installed: bool,
pub local_path: Option<String>,
pub installed_version: Option<String>,
pub update_available: bool,
pub requested_permissions: String,
}Expand description
Represents a Mini App listing in the marketplace
Fields§
§id: StringUnique identifier (from d-tag)
name: StringDisplay name
description: StringDescription
version: StringVersion string
blossom_hash: StringBlossom SHA-256 hash of the .xdc file
download_url: StringFull Blossom download URL
size: u64File size in bytes
icon_url: Option<String>Optional icon URL (Blossom)
icon_mime: Option<String>Optional icon MIME type (e.g., “image/png”, “image/svg+xml”)
icon_cached: Option<String>Locally cached icon path (for offline support)
categories: Vec<String>Categories/tags
changelog: Option<String>Extended description or changelog (from content)
developer: Option<String>Developer name (the actual creator of the game/app)
source_url: Option<String>Source code or website URL
publisher: StringPublisher’s public key (npub)
published_at: u64Event creation timestamp
installed: boolWhether this app is installed locally
local_path: Option<String>Local file path if installed
installed_version: Option<String>Installed version (if different from marketplace version, update is available)
update_available: boolWhether an update is available (marketplace version != installed version)
requested_permissions: StringRequested permissions (comma-separated string for easy serialization) Format: “microphone,camera,fullscreen”
Trait Implementations§
Source§impl Clone for MarketplaceApp
impl Clone for MarketplaceApp
Source§impl Debug for MarketplaceApp
impl Debug for MarketplaceApp
Source§impl Default for MarketplaceApp
impl Default for MarketplaceApp
Source§impl<'de> Deserialize<'de> for MarketplaceAppwhere
MarketplaceApp: Default,
impl<'de> Deserialize<'de> for MarketplaceAppwhere
MarketplaceApp: Default,
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>,
Auto Trait Implementations§
impl Freeze for MarketplaceApp
impl RefUnwindSafe for MarketplaceApp
impl Send for MarketplaceApp
impl Sync for MarketplaceApp
impl Unpin for MarketplaceApp
impl UnsafeUnpin for MarketplaceApp
impl UnwindSafe for MarketplaceApp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more