pub struct WorkConfig {
pub keep: usize,
}Expand description
How much of a producer’s generated output survives a mecha work clean.
A policy rather than an intention: the lesson of this project is that anything without one becomes a pile nobody opens. The number is small on purpose — the directory is scratch, and what matters is published.
Fields§
§keep: usizeEntries kept per producer, newest first.
Trait Implementations§
Source§impl Clone for WorkConfig
impl Clone for WorkConfig
Source§fn clone(&self) -> WorkConfig
fn clone(&self) -> WorkConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkConfig
impl Debug for WorkConfig
Source§impl Default for WorkConfig
impl Default for WorkConfig
Source§impl<'de> Deserialize<'de> for WorkConfigwhere
WorkConfig: Default,
impl<'de> Deserialize<'de> for WorkConfigwhere
WorkConfig: 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 WorkConfig
impl RefUnwindSafe for WorkConfig
impl Send for WorkConfig
impl Sync for WorkConfig
impl Unpin for WorkConfig
impl UnsafeUnpin for WorkConfig
impl UnwindSafe for WorkConfig
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