Method
new
(id: String, session_id: String, prompt: String)
Source from the content-addressed store, hash-verified
| 59 | |
| 60 | impl RunSnapshot { |
| 61 | fn new(id: String, session_id: String, prompt: String) -> Self { |
| 62 | let now = now_ms(); |
| 63 | Self { |
| 64 | id, |
| 65 | session_id, |
| 66 | status: RunStatus::Created, |
| 67 | prompt, |
| 68 | created_at_ms: now, |
| 69 | updated_at_ms: now, |
| 70 | result_text: None, |
| 71 | error: None, |
| 72 | event_count: 0, |
| 73 | } |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | #[derive(Debug, Default)] |
Callers
nothing calls this directly
Tested by
no test coverage detected