pub struct TestEnvironment {
pub ci: bool,
pub sandbox: VirtualPath,
}
Expand description
Information about the current testing environment.
Fields§
§ci: bool
§sandbox: VirtualPath
Trait Implementations§
Source§impl Clone for TestEnvironment
impl Clone for TestEnvironment
Source§fn clone(&self) -> TestEnvironment
fn clone(&self) -> TestEnvironment
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TestEnvironment
impl Debug for TestEnvironment
Source§impl Default for TestEnvironment
impl Default for TestEnvironment
Source§fn default() -> TestEnvironment
fn default() -> TestEnvironment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TestEnvironment
impl<'de> Deserialize<'de> for TestEnvironment
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TestEnvironment, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TestEnvironment, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TestEnvironment
impl PartialEq for TestEnvironment
Source§impl Serialize for TestEnvironment
impl Serialize for TestEnvironment
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TestEnvironment
Auto Trait Implementations§
impl Freeze for TestEnvironment
impl RefUnwindSafe for TestEnvironment
impl Send for TestEnvironment
impl Sync for TestEnvironment
impl Unpin for TestEnvironment
impl UnwindSafe for TestEnvironment
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