pub struct UnityAdsSettings {
pub m_Enabled: bool,
pub m_InitializeOnStartup: bool,
pub m_TestMode: bool,
pub m_AndroidGameId: Option<String>,
pub m_EnabledPlatforms: Option<u32>,
pub m_GameId: Option<String>,
pub m_IosGameId: Option<String>,
}Expand description
UnityAdsSettings is a class of the Unity engine since version 5.2.0f2.
Fields§
§m_Enabled: bool§m_InitializeOnStartup: bool§m_TestMode: bool§m_AndroidGameId: Option<String>String: (5.2.0f2 - 5.6.7f1)
m_EnabledPlatforms: Option<u32>u32: (5.2.0f2 - 2017.1.5f1)
m_GameId: Option<String>String: (2017.1.0b1 - 2022.3.2f1)
m_IosGameId: Option<String>String: (5.2.0f2 - 5.6.7f1)
Trait Implementations§
Source§impl Debug for UnityAdsSettings
impl Debug for UnityAdsSettings
Source§impl<'de> Deserialize<'de> for UnityAdsSettings
impl<'de> Deserialize<'de> for UnityAdsSettings
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 UnityAdsSettings
impl RefUnwindSafe for UnityAdsSettings
impl Send for UnityAdsSettings
impl Sync for UnityAdsSettings
impl Unpin for UnityAdsSettings
impl UnwindSafe for UnityAdsSettings
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