#[non_exhaustive]pub struct JitRunnerConfig {
pub runner: Option<RunnerReference>,
pub encoded_jit_config: SecretString,
}Expand description
A just-in-time runner configuration.
encoded_jit_config is a secret until the
runner has used it; it is kept in a SecretString, which is redacted
from Debug output and wiped from memory on drop.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.runner: Option<RunnerReference>The runner registered for this config.
encoded_jit_config: SecretStringPass to the runner as ACTIONS_RUNNER_INPUT_JITCONFIG, or as
run.sh --jitconfig <value>. Read it with
ExposeSecret::expose_secret.
Trait Implementations§
Source§impl Clone for JitRunnerConfig
impl Clone for JitRunnerConfig
Source§impl Debug for JitRunnerConfig
impl Debug for JitRunnerConfig
Source§impl Default for JitRunnerConfig
impl Default for JitRunnerConfig
Source§impl<'de> Deserialize<'de> for JitRunnerConfigwhere
JitRunnerConfig: Default,
impl<'de> Deserialize<'de> for JitRunnerConfigwhere
JitRunnerConfig: Default,
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 JitRunnerConfig
impl RefUnwindSafe for JitRunnerConfig
impl Send for JitRunnerConfig
impl Sync for JitRunnerConfig
impl Unpin for JitRunnerConfig
impl UnsafeUnpin for JitRunnerConfig
impl UnwindSafe for JitRunnerConfig
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