pub struct SmokeConfig {
pub defaults: Vec<String>,
pub presets: HashMap<String, Vec<String>>,
pub redirects: HashMap<String, String>,
}Expand description
Smoke test configuration.
Fields§
§defaults: Vec<String>Default routes to test.
presets: HashMap<String, Vec<String>>Named presets of route lists.
redirects: HashMap<String, String>Known redirects (from -> to).
Trait Implementations§
Source§impl Clone for SmokeConfig
impl Clone for SmokeConfig
Source§fn clone(&self) -> SmokeConfig
fn clone(&self) -> SmokeConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SmokeConfig
impl Debug for SmokeConfig
Source§impl Default for SmokeConfig
impl Default for SmokeConfig
Source§fn default() -> SmokeConfig
fn default() -> SmokeConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SmokeConfig
impl<'de> Deserialize<'de> for SmokeConfig
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 SmokeConfig
impl RefUnwindSafe for SmokeConfig
impl Send for SmokeConfig
impl Sync for SmokeConfig
impl Unpin for SmokeConfig
impl UnsafeUnpin for SmokeConfig
impl UnwindSafe for SmokeConfig
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