pub struct WarbleIr {
pub warble_ir_version: String,
pub profile: String,
pub context_binding: ContextBinding,
pub config: IrConfig,
pub components: Vec<ComponentNode>,
pub slots: Vec<SlotDecl>,
}Fields§
§warble_ir_version: String§profile: String§context_binding: ContextBinding§config: IrConfig§components: Vec<ComponentNode>§slots: Vec<SlotDecl>Profile-level slots, belonging to the profile’s system_prompt. Names are unique across the
whole project — the compiler refuses a collision with any component’s — so a consumer
resolves {{ slot.<name> }} against one flat namespace.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WarbleIr
impl<'de> Deserialize<'de> for WarbleIr
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 WarbleIr
impl RefUnwindSafe for WarbleIr
impl Send for WarbleIr
impl Sync for WarbleIr
impl Unpin for WarbleIr
impl UnsafeUnpin for WarbleIr
impl UnwindSafe for WarbleIr
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