pub struct ExternalHostRuntimeRequest {
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§
§method: ExternalHostRuntimeMethod§candidate_id: Option<String>§action: Option<String>§payload: Option<Value>Trait Implementations§
Source§impl Clone for ExternalHostRuntimeRequest
impl Clone for ExternalHostRuntimeRequest
Source§fn clone(&self) -> ExternalHostRuntimeRequest
fn clone(&self) -> ExternalHostRuntimeRequest
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 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 Freeze for ExternalHostRuntimeRequest
impl RefUnwindSafe for ExternalHostRuntimeRequest
impl Send for ExternalHostRuntimeRequest
impl Sync for ExternalHostRuntimeRequest
impl Unpin for ExternalHostRuntimeRequest
impl UnsafeUnpin for ExternalHostRuntimeRequest
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