pub(crate) struct StartAppProtocol<'a> {
pub(crate) reset_db: bool,
pub(crate) experiments: Option<&'a Value>,
pub(crate) log_state: bool,
}
Expand description
This is the protocol that each app understands.
It is sent to the apps via the start_app command.
Any change to this protocol requires changing the Kotlin and Swift code, and perhaps the app code itself.
Fields§
§reset_db: bool
§experiments: Option<&'a Value>
§log_state: bool
Trait Implementations§
source§impl<'a> Clone for StartAppProtocol<'a>
impl<'a> Clone for StartAppProtocol<'a>
source§fn clone(&self) -> StartAppProtocol<'a>
fn clone(&self) -> StartAppProtocol<'a>
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<'a> Debug for StartAppProtocol<'a>
impl<'a> Debug for StartAppProtocol<'a>
source§impl<'a> Default for StartAppProtocol<'a>
impl<'a> Default for StartAppProtocol<'a>
source§fn default() -> StartAppProtocol<'a>
fn default() -> StartAppProtocol<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for StartAppProtocol<'a>
impl<'a> RefUnwindSafe for StartAppProtocol<'a>
impl<'a> Send for StartAppProtocol<'a>
impl<'a> Sync for StartAppProtocol<'a>
impl<'a> Unpin for StartAppProtocol<'a>
impl<'a> UnwindSafe for StartAppProtocol<'a>
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more