pub struct TripTestConfig {
pub snapshot: Option<SnapshotConfig>,
pub server: Option<ServerConfig>,
pub diff: Option<DiffConfig>,
}Fields§
§snapshot: Option<SnapshotConfig>§server: Option<ServerConfig>§diff: Option<DiffConfig>Implementations§
Source§impl TripTestConfig
impl TripTestConfig
pub fn load(path: &str) -> Result<Self>
pub fn load_or_default(path: Option<&str>) -> Result<Self>
pub fn get_baseline(&self) -> Option<String>
pub fn get_server_command(&self) -> Option<String>
pub fn get_timeout_ms(&self) -> u64
Trait Implementations§
Source§impl Clone for TripTestConfig
impl Clone for TripTestConfig
Source§fn clone(&self) -> TripTestConfig
fn clone(&self) -> TripTestConfig
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 TripTestConfig
impl Debug for TripTestConfig
Source§impl<'de> Deserialize<'de> for TripTestConfig
impl<'de> Deserialize<'de> for TripTestConfig
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 TripTestConfig
impl RefUnwindSafe for TripTestConfig
impl Send for TripTestConfig
impl Sync for TripTestConfig
impl Unpin for TripTestConfig
impl UnsafeUnpin for TripTestConfig
impl UnwindSafe for TripTestConfig
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