stasis-rs 0.1.0

Durable AI orchestration framework with runtime jobs, lineage, and memory integration
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[derive(Clone, Debug)]
pub struct HtmxSwap {
    pub target: String,
    pub swap: String,
    pub url: String,
    pub trigger: Option<String>,
}

impl HtmxSwap {
    pub fn inspector(url: impl Into<String>) -> Self {
        Self {
            target: "#inspector".to_string(),
            swap: "innerHTML".to_string(),
            url: url.into(),
            trigger: None,
        }
    }
}