pub enum AdPlacement {
ChestUpgrade,
TalentUpgrade,
AfkInstant,
SkillGacha,
PetGacha,
AfkBoost,
DungeonRaid,
ArenaRefresh,
DailyBooster,
Bird,
}Variants§
ChestUpgrade
TalentUpgrade
AfkInstant
SkillGacha
PetGacha
AfkBoost
DungeonRaid
ArenaRefresh
DailyBooster
Bird
Trait Implementations§
Source§impl Clone for AdPlacement
impl Clone for AdPlacement
Source§fn clone(&self) -> AdPlacement
fn clone(&self) -> AdPlacement
Returns a copy of the value. Read more
1.0.0 · 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 AdPlacement
impl Debug for AdPlacement
Source§impl Default for AdPlacement
impl Default for AdPlacement
Source§fn default() -> AdPlacement
fn default() -> AdPlacement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdPlacement
impl<'de> Deserialize<'de> for AdPlacement
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
Source§impl Display for AdPlacement
impl Display for AdPlacement
Source§impl FromStr for AdPlacement
impl FromStr for AdPlacement
Source§impl Hash for AdPlacement
impl Hash for AdPlacement
Source§impl JsonSchema for AdPlacement
impl JsonSchema for AdPlacement
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for AdPlacement
impl PartialEq for AdPlacement
Source§impl Sequence for AdPlacement
impl Sequence for AdPlacement
Source§impl Serialize for AdPlacement
impl Serialize for AdPlacement
Source§impl TryFrom<&str> for AdPlacement
impl TryFrom<&str> for AdPlacement
Source§impl Tsify for AdPlacement
impl Tsify for AdPlacement
const DECL: &'static str = "declare namespace AdPlacement {\n export type ChestUpgrade = \"ChestUpgrade\";\n export type TalentUpgrade = \"TalentUpgrade\";\n export type AfkInstant = \"AfkInstant\";\n export type SkillGacha = \"SkillGacha\";\n export type PetGacha = \"PetGacha\";\n export type AfkBoost = \"AfkBoost\";\n export type DungeonRaid = \"DungeonRaid\";\n export type ArenaRefresh = \"ArenaRefresh\";\n export type DailyBooster = \"DailyBooster\";\n export type Bird = \"Bird\";\n}\n\nexport type AdPlacement = \"ChestUpgrade\" | \"TalentUpgrade\" | \"AfkInstant\" | \"SkillGacha\" | \"PetGacha\" | \"AfkBoost\" | \"DungeonRaid\" | \"ArenaRefresh\" | \"DailyBooster\" | \"Bird\";"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
impl Copy for AdPlacement
impl Eq for AdPlacement
impl StructuralPartialEq for AdPlacement
Auto Trait Implementations§
impl Freeze for AdPlacement
impl RefUnwindSafe for AdPlacement
impl Send for AdPlacement
impl Sync for AdPlacement
impl Unpin for AdPlacement
impl UnwindSafe for AdPlacement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more