pub struct RunOptions {
pub scheduled_task: bool,
pub script: Option<String>,
pub resume_session: bool,
pub manage_session: bool,
}Expand description
How a run treats sessions and what it tells the container.
Fields§
§scheduled_task: boolContainerInput.is_scheduled_task.
script: Option<String>Pre-flight script of a scheduled task.
resume_session: boolResume the lane’s stored session (if any).
manage_session: boolPersist new session ids and clear stale / foreign-provider sessions (message runs; scheduled tasks only borrow the session).
Implementations§
Trait Implementations§
Source§impl Clone for RunOptions
impl Clone for RunOptions
Source§impl Debug for RunOptions
impl Debug for RunOptions
Source§impl Default for RunOptions
impl Default for RunOptions
impl Eq for RunOptions
Source§impl PartialEq for RunOptions
impl PartialEq for RunOptions
impl StructuralPartialEq for RunOptions
Auto Trait Implementations§
impl Forget for RunOptions
impl Freeze for RunOptions
impl Move for RunOptions
impl RefUnwindSafe for RunOptions
impl Send for RunOptions
impl Sync for RunOptions
impl Unpin for RunOptions
impl UnsafeUnpin for RunOptions
impl UnwindSafe for RunOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.