pub struct SlotInfo {
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 an available slot in the system.
Slots represent controllable parameters or observable outputs. Each slot has a hierarchical path and optional type/constraint information.
Fields§
§path: StringHierarchical path identifier (e.g., “face/mouth/open”, “body/arm/left/rotation”)
kind: Option<String>Slot kind/category (e.g., “input”, “output”, “computed”)
value_type: Option<Type>The arora Type that this slot 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 SlotInfo
impl<'de> Deserialize<'de> for SlotInfo
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 SlotInfo
impl RefUnwindSafe for SlotInfo
impl Send for SlotInfo
impl Sync for SlotInfo
impl Unpin for SlotInfo
impl UnsafeUnpin for SlotInfo
impl UnwindSafe for SlotInfo
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