pub struct Sources {
pub enabled: bool,
pub prefetch: bool,
pub extra_args: Vec<String>,
}Expand description
Source prefetch.
Fields§
§enabled: boolSet false to skip the phase.
prefetch: boolRun eb --fetch --robot for every list line before building.
extra_args: Vec<String>Extra arguments for the prefetch command, after the line’s own. --disable-robot drops --robot, so a line fetches its own sources only; a line’s --robot=PATH moves to the front of --robot-paths.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sources
impl<'de> Deserialize<'de> for Sources
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
impl StructuralPartialEq for Sources
Auto Trait Implementations§
impl Freeze for Sources
impl RefUnwindSafe for Sources
impl Send for Sources
impl Sync for Sources
impl Unpin for Sources
impl UnwindSafe for Sources
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