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 ResumeFromwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, IndexMap<String, Value>>>: Freeze,
PhantomData<Bucket<String, NodeSnapshot>>: Freeze,
PhantomData<Bucket<String, EdgeStatus>>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
PhantomData<(Selector, Value)>: Freeze,
impl Move for ResumeFrom
impl RefUnwindSafe for ResumeFrom
impl Send for ResumeFrom
impl Sync for ResumeFrom
impl Unpin for ResumeFrom
impl UnsafeUnpin for ResumeFromwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, IndexMap<String, Value>>>: UnsafeUnpin,
PhantomData<Bucket<String, NodeSnapshot>>: UnsafeUnpin,
PhantomData<Bucket<String, EdgeStatus>>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
PhantomData<(Selector, Value)>: UnsafeUnpin,
impl UnwindSafe for ResumeFromwhere
RawVecInner: UnwindSafe,
NonNull<u8>: UnwindSafe,
Arc<str>: UnwindSafe,
Arc<Vec<Value>>: UnwindSafe,
Arc<IndexMap<String, Value>>: UnwindSafe,
Arc<File>: UnwindSafe,
Arc<[Arc<str>]>: UnwindSafe,
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