pub struct ProductConfig {
pub lang: Option<String>,
pub timeout: Option<u64>,
pub artifacts_dir: Option<String>,
pub ignore_robots: Option<bool>,
pub namespace: Option<String>,
pub encryption_key: Option<String>,
pub color: Option<bool>,
}Expand description
On-disk product configuration (TOML). Flags override these at parse time.
Fields§
§lang: Option<String>Default language override (en / pt-BR).
timeout: Option<u64>Default global timeout seconds (0 = none).
artifacts_dir: Option<String>Default artifacts directory.
ignore_robots: Option<bool>Default ignore-robots (requires explicit risk acceptance in flags still).
namespace: Option<String>Namespace for isolated state trees (optional).
encryption_key: Option<String>Optional AES key material for encrypted session state (stored in XDG config, mode 0600).
color: Option<bool>Enable ANSI colors on human stderr paths when true.
Trait Implementations§
Source§impl Clone for ProductConfig
impl Clone for ProductConfig
Source§fn clone(&self) -> ProductConfig
fn clone(&self) -> ProductConfig
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 ProductConfig
impl Debug for ProductConfig
Source§impl Default for ProductConfig
impl Default for ProductConfig
Source§fn default() -> ProductConfig
fn default() -> ProductConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProductConfig
impl<'de> Deserialize<'de> for ProductConfig
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 ProductConfig
impl RefUnwindSafe for ProductConfig
impl Send for ProductConfig
impl Sync for ProductConfig
impl Unpin for ProductConfig
impl UnsafeUnpin for ProductConfig
impl UnwindSafe for ProductConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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