pub struct PerformanceSettings {
pub data_collection_enabled: Option<bool>,
pub instrumentation_enabled: Option<bool>,
}Expand description
User provided configuration toggles mirroring the JavaScript SDK’s
PerformanceSettings.
Leave fields as None to keep the app-level defaults derived from
FirebaseAppSettings::automatic_data_collection_enabled.
Fields§
§data_collection_enabled: Option<bool>§instrumentation_enabled: Option<bool>Trait Implementations§
Source§impl Clone for PerformanceSettings
impl Clone for PerformanceSettings
Source§fn clone(&self) -> PerformanceSettings
fn clone(&self) -> PerformanceSettings
Returns a duplicate 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 PerformanceSettings
impl Debug for PerformanceSettings
Source§impl Default for PerformanceSettings
impl Default for PerformanceSettings
Source§fn default() -> PerformanceSettings
fn default() -> PerformanceSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PerformanceSettings
impl<'de> Deserialize<'de> for PerformanceSettings
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 PartialEq for PerformanceSettings
impl PartialEq for PerformanceSettings
Source§impl Serialize for PerformanceSettings
impl Serialize for PerformanceSettings
impl StructuralPartialEq for PerformanceSettings
Auto Trait Implementations§
impl Freeze for PerformanceSettings
impl RefUnwindSafe for PerformanceSettings
impl Send for PerformanceSettings
impl Sync for PerformanceSettings
impl Unpin for PerformanceSettings
impl UnwindSafe for PerformanceSettings
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