pub struct ResumeFrom {
pub snapshot: Snapshot,
pub inputs: IndexMap<String, Value>,
pub secrets: IndexMap<String, Value>,
}Expand description
Resume information.
Fields§
§snapshot: Snapshot§inputs: IndexMap<String, Value>Host input for paused nodes (e.g. a submitted human-input form), keyed by
"<frame>/<node_id>" for one specific frame or by plain node id for any
frame. Root-frame nodes use the plain node id.
secrets: IndexMap<String, Value>Plaintext for secrets outside env.* (e.g. secret-typed start inputs or
conversation variables), keyed by dotted selector ("start.api_key").
Snapshots never store secret plaintext: such values are restored as
redacted secrets (Value::redacted_secret) and nodes that need them fail
until they are re-supplied here. Only selectors that currently hold a
redacted secret are overwritten.
Implementations§
Trait Implementations§
Source§impl Clone for ResumeFrom
impl Clone for ResumeFrom
Auto Trait Implementations§
impl Forget for ResumeFrom
impl Freeze for ResumeFrom
impl Move for ResumeFrom
impl RefUnwindSafe for ResumeFrom
impl Send for ResumeFrom
impl Sync for ResumeFrom
impl Unpin for ResumeFrom
impl UnsafeUnpin for ResumeFrom
impl UnwindSafe for ResumeFrom
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