pub struct GivenSettings {
pub max_file_size_mb: Option<u32>,
pub cache_dir: Option<PathBuf>,
pub include_entry_exports: Option<bool>,
pub package_baselines: Option<bool>,
}Expand description
The run settings that a surface gives and that win over the environment.
Fields§
§max_file_size_mb: Option<u32>The max file size in megabytes.
cache_dir: Option<PathBuf>The cache directory. A relative path resolves from the project root.
include_entry_exports: Option<bool>Whether dead code reports the exports of entry files.
package_baselines: Option<bool>Whether the run reads workspaces.changedSince.
Implementations§
Source§impl GivenSettings
impl GivenSettings
Sourcepub fn apply(&self, config: &mut ResolvedConfig)
pub fn apply(&self, config: &mut ResolvedConfig)
Write the given settings on a config that the steps resolved.
Trait Implementations§
Source§impl Clone for GivenSettings
impl Clone for GivenSettings
Source§impl Debug for GivenSettings
impl Debug for GivenSettings
Auto Trait Implementations§
impl Forget for GivenSettings
impl Freeze for GivenSettings
impl Move for GivenSettings
impl RefUnwindSafe for GivenSettings
impl Send for GivenSettings
impl Sync for GivenSettings
impl Unpin for GivenSettings
impl UnsafeUnpin for GivenSettings
impl UnwindSafe for GivenSettings
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more