pub enum MiniAppVendor {
Show 13 variants
WeChat,
Alipay,
Douyin,
Baidu,
Qq,
Kuaishou,
Jd,
Xiaohongshu,
DingTalk,
Feishu,
Taobao,
Meituan,
HarmonyAtomic,
}Expand description
All 13 supported mainstream super-app Mini-Program and Atomic Service host ecosystems.
Variants§
WeChat Mini-Program (wx, .wxml / .wxss).
Alipay
Alipay Mini-Program (my, .axml / .acss).
Douyin
Douyin / ByteDance Mini-Program (tt, .ttml / .ttss).
Baidu
Baidu Smart Mini-Program (swan, .swan / .css).
QQ Mini-Program (qq, .qml / .qss).
Kuaishou
Kuaishou Mini-Program (ks, .ksml / .css).
Jd
JD Mini-Program (jd, .jxml / .jxss).
Xiaohongshu
Xiaohongshu Mini-Program (xhs, .xhsml / .css).
DingTalk
DingTalk Mini-Program (dd, .axml / .acss).
Feishu
Feishu / Lark Gadget Mini-Program (tt, .ttml / .ttss).
Taobao
Taobao Mini-Program (my, .axml / .acss).
Meituan
Meituan Mini-Program (mt, .mxml / .mxss).
HarmonyAtomic
HarmonyOS Atomic Service (atomic, installationFree: true, ArkTS .ets).
Implementations§
Source§impl MiniAppVendor
Canonical identifier, global JS namespace, template extension, and tag helpers for MiniAppVendor.
impl MiniAppVendor
Canonical identifier, global JS namespace, template extension, and tag helpers for MiniAppVendor.
Sourcepub fn from_str_id(name: &str) -> Option<Self>
pub fn from_str_id(name: &str) -> Option<Self>
Sourcepub const fn global_namespace(&self) -> &'static str
pub const fn global_namespace(&self) -> &'static str
Sourcepub const fn template_extension(&self) -> &'static str
pub const fn template_extension(&self) -> &'static str
Sourcepub const fn style_extension(&self) -> &'static str
pub const fn style_extension(&self) -> &'static str
Sourcepub const fn config_file_name(&self) -> &'static str
pub const fn config_file_name(&self) -> &'static str
Sourcepub const fn uses_alipay_event_syntax(&self) -> bool
pub const fn uses_alipay_event_syntax(&self) -> bool
Sourcepub const fn wasm_global_name(&self) -> &'static str
pub const fn wasm_global_name(&self) -> &'static str
Sourcepub const fn all_vendors() -> [Self; 13]
pub const fn all_vendors() -> [Self; 13]
Returns all 13 supported mainstream Mini-Program and Atomic Service vendors.
§Returns
[Self; 13]- Complete array of Mini-Program vendors.