pub enum StubContextType {
SetUpContext(String),
TearDownContext(String),
ConstructorContext(String),
DestructorContext(String),
ClassContext(String),
}
Variants§
SetUpContext(String)
TearDownContext(String)
ConstructorContext(String)
DestructorContext(String)
ClassContext(String)
Trait Implementations§
Source§impl Clone for StubContextType
impl Clone for StubContextType
Source§fn clone(&self) -> StubContextType
fn clone(&self) -> StubContextType
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 StubContextType
impl Debug for StubContextType
Source§impl<'de> Deserialize<'de> for StubContextType
impl<'de> Deserialize<'de> for StubContextType
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
Source§impl PartialEq for StubContextType
impl PartialEq for StubContextType
Source§impl Serialize for StubContextType
impl Serialize for StubContextType
impl StructuralPartialEq for StubContextType
Auto Trait Implementations§
impl Freeze for StubContextType
impl RefUnwindSafe for StubContextType
impl Send for StubContextType
impl Sync for StubContextType
impl Unpin for StubContextType
impl UnwindSafe for StubContextType
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