pub struct SessionOpenRequest {
pub bundle_id: String,
pub activate: bool,
}Expand description
POST /session/open request body.
Fields§
§bundle_id: StringBundle id (iOS) / package name (Android) the session is bound to.
Empty string means “use the runner’s boot-time default”, which is
almost always com.apple.Preferences — usable for testing but
probably not what the client wants.
activate: boolIf true, the runner calls .activate() once as part of the open,
synchronously, before returning. Idiomatic for gates that want
the target app foregrounded before the first /tap fires.
Trait Implementations§
Source§impl Clone for SessionOpenRequest
impl Clone for SessionOpenRequest
Source§fn clone(&self) -> SessionOpenRequest
fn clone(&self) -> SessionOpenRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionOpenRequest
impl Debug for SessionOpenRequest
Source§impl<'de> Deserialize<'de> for SessionOpenRequest
impl<'de> Deserialize<'de> for SessionOpenRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionOpenRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionOpenRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SessionOpenRequest
impl Serialize for SessionOpenRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SessionOpenRequest
impl RefUnwindSafe for SessionOpenRequest
impl Send for SessionOpenRequest
impl Sync for SessionOpenRequest
impl Unpin for SessionOpenRequest
impl UnsafeUnpin for SessionOpenRequest
impl UnwindSafe for SessionOpenRequest
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