pub struct RuntimeContract {
pub version: u32,
pub model: String,
pub tools: Vec<ToolContract>,
pub phases: Vec<PhaseContract>,
pub initial_phase: Option<String>,
pub extractors: Vec<ExtractorContract>,
pub computed: Vec<ComputedContract>,
pub watchers: Vec<WatcherContract>,
pub controls: ControlContract,
}Expand description
Serializable description of a configured Live runtime.
Fields§
§version: u32Contract schema version.
model: StringConfigured Gemini model id.
tools: Vec<ToolContract>Tool declarations visible to the model.
phases: Vec<PhaseContract>Conversation phase graph.
initial_phase: Option<String>Initial phase name, when configured.
extractors: Vec<ExtractorContract>Turn extractors and their promotion policy.
computed: Vec<ComputedContract>Computed state declarations.
watchers: Vec<WatcherContract>State watcher declarations.
controls: ControlContractRuntime and voice control settings.
Trait Implementations§
Source§impl Clone for RuntimeContract
impl Clone for RuntimeContract
Source§fn clone(&self) -> RuntimeContract
fn clone(&self) -> RuntimeContract
Returns a duplicate 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 Debug for RuntimeContract
impl Debug for RuntimeContract
Source§impl Default for RuntimeContract
impl Default for RuntimeContract
Source§fn default() -> RuntimeContract
fn default() -> RuntimeContract
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeContract
impl<'de> Deserialize<'de> for RuntimeContract
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 RuntimeContract
impl RefUnwindSafe for RuntimeContract
impl Send for RuntimeContract
impl Sync for RuntimeContract
impl Unpin for RuntimeContract
impl UnwindSafe for RuntimeContract
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