pub struct FrontendRuntimeDescriptor {Show 13 fields
pub schema_version: u32,
pub session_id: String,
pub source_harness: Option<String>,
pub emulation_profile: Option<String>,
pub active_modules: Vec<String>,
pub commands: Vec<FrontendCommandDescriptor>,
pub operations: Vec<FrontendOperationDescriptor>,
pub actions: FrontendActions,
pub display: FrontendDisplayCapabilities,
pub model: String,
pub turn_state: FrontendTurnState,
pub connection_state: FrontendConnectionState,
pub extensions: BTreeMap<String, Value>,
}Expand description
Complete frontend-facing description of one SDK-owned runtime.
Fields§
§schema_version: u32Contract schema version.
session_id: StringStable SDK runtime/session identity.
source_harness: Option<String>Source harness whose semantics are being emulated.
emulation_profile: Option<String>Resolved composable preset/profile name.
active_modules: Vec<String>Active composable modules, using their stable config keys.
commands: Vec<FrontendCommandDescriptor>Runtime-provided composer commands.
operations: Vec<FrontendOperationDescriptor>Explicit typed operation catalog. Missing on schema-v1 peers.
actions: FrontendActionsSupported control actions.
display: FrontendDisplayCapabilitiesDisplay/event capabilities.
model: StringCurrent model label.
turn_state: FrontendTurnStateCurrent turn state.
connection_state: FrontendConnectionStateCurrent connection state.
extensions: BTreeMap<String, Value>Compatible client/adapter metadata with no canonical-session meaning.
Trait Implementations§
Source§impl Clone for FrontendRuntimeDescriptor
impl Clone for FrontendRuntimeDescriptor
Source§fn clone(&self) -> FrontendRuntimeDescriptor
fn clone(&self) -> FrontendRuntimeDescriptor
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 FrontendRuntimeDescriptor
impl Debug for FrontendRuntimeDescriptor
Source§impl<'de> Deserialize<'de> for FrontendRuntimeDescriptor
impl<'de> Deserialize<'de> for FrontendRuntimeDescriptor
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FrontendRuntimeDescriptor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FrontendRuntimeDescriptor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FrontendRuntimeDescriptor
Source§impl Serialize for FrontendRuntimeDescriptor
impl Serialize for FrontendRuntimeDescriptor
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
impl StructuralPartialEq for FrontendRuntimeDescriptor
Auto Trait Implementations§
impl Freeze for FrontendRuntimeDescriptor
impl RefUnwindSafe for FrontendRuntimeDescriptor
impl Send for FrontendRuntimeDescriptor
impl Sync for FrontendRuntimeDescriptor
impl Unpin for FrontendRuntimeDescriptor
impl UnsafeUnpin for FrontendRuntimeDescriptor
impl UnwindSafe for FrontendRuntimeDescriptor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.