pub struct KeyInfo {
pub path: String,
pub kind: Option<String>,
pub value_type: Option<Type>,
pub min: Option<f64>,
pub max: Option<f64>,
pub default_value: Option<Value>,
pub description: Option<String>,
}Expand description
Metadata describing a key exposed by the runtime’s data layer.
A key is a hierarchical path into the store (see arora_types::data::Key);
its value is an arora_types::value::Value. Keys represent controllable
parameters or observable outputs, with optional type/constraint information.
Fields§
§path: StringHierarchical path identifier (e.g., “face/mouth/open”, “body/arm/left/rotation”)
kind: Option<String>Key kind/category (e.g., “input”, “output”, “computed”)
value_type: Option<Type>The arora Type of the values this key accepts/produces
min: Option<f64>Minimum value constraint (for numeric types)
max: Option<f64>Maximum value constraint (for numeric types)
default_value: Option<Value>Default value
description: Option<String>Human-readable description
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyInfo
impl<'de> Deserialize<'de> for KeyInfo
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 KeyInfo
impl RefUnwindSafe for KeyInfo
impl Send for KeyInfo
impl Sync for KeyInfo
impl Unpin for KeyInfo
impl UnsafeUnpin for KeyInfo
impl UnwindSafe for KeyInfo
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