pub struct ExternalHostRuntimeRequest {
pub host_public_key: Option<PublicKey>,
pub method: ExternalHostRuntimeMethod,
pub candidate_id: Option<String>,
pub action: Option<String>,
pub payload: Option<Value>,
}Expand description
A platform capability request emitted by an externally hosted Core.
Core owns the onboarding workflow. The native host owns LAN discovery and transport to a discovered candidate, so Android can satisfy this contract without moving application logic into the mobile shell.
Fields§
§host_public_key: Option<PublicKey>§method: ExternalHostRuntimeMethod§candidate_id: Option<String>§action: Option<String>§payload: Option<Value>Trait Implementations§
Source§impl Clone for ExternalHostRuntimeRequest
impl Clone for ExternalHostRuntimeRequest
Source§impl Debug for ExternalHostRuntimeRequest
impl Debug for ExternalHostRuntimeRequest
Source§impl<'de> Deserialize<'de> for ExternalHostRuntimeRequest
impl<'de> Deserialize<'de> for ExternalHostRuntimeRequest
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 Forget for ExternalHostRuntimeRequest
impl Freeze for ExternalHostRuntimeRequestwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for ExternalHostRuntimeRequest
impl RefUnwindSafe for ExternalHostRuntimeRequest
impl Send for ExternalHostRuntimeRequest
impl Sync for ExternalHostRuntimeRequest
impl Unpin for ExternalHostRuntimeRequest
impl UnsafeUnpin for ExternalHostRuntimeRequestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for ExternalHostRuntimeRequest
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