pub struct JobsConfig {
pub required_tools: Vec<String>,
}Expand description
Job-mode configuration ([jobs]).
Fields§
§required_tools: Vec<String>Named tools every job from this project requires a worker to have
VERIFIED, as though each were passed with --require-tool.
This is the project saying “my jobs cannot run on a worker without
these”, so it applies on top of any --require-tool given on the
command line rather than being replaced by it. It affects job mode
ONLY: ordinary offloaded compilation keeps its existing admission
behavior, because a project-wide requirement that silently narrowed
every build’s worker pool would be a surprising way to lose the fleet.
Trait Implementations§
Source§impl Clone for JobsConfig
impl Clone for JobsConfig
Source§impl Debug for JobsConfig
impl Debug for JobsConfig
Source§impl Default for JobsConfig
impl Default for JobsConfig
Source§impl<'de> Deserialize<'de> for JobsConfig
impl<'de> Deserialize<'de> for JobsConfig
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 JobsConfig
impl RefUnwindSafe for JobsConfig
impl Send for JobsConfig
impl Sync for JobsConfig
impl Unpin for JobsConfig
impl UnsafeUnpin for JobsConfig
impl UnwindSafe for JobsConfig
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