pub struct RunOptions {
pub build: Option<String>,
pub timeout_secs: Option<u64>,
pub memory_mbytes: Option<u64>,
pub max_items: Option<u64>,
}Expand description
Run-time overrides that apply only to a single Run.
A subset of TaskOptions — no max_total_charge_usd or restart_on_error
because those are Task-level settings.
Fields§
§build: Option<String>§timeout_secs: Option<u64>§memory_mbytes: Option<u64>§max_items: Option<u64>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
Source§impl<'de> Deserialize<'de> for RunOptions
impl<'de> Deserialize<'de> for RunOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze 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