pub enum TestString {
TestString(TestString),
}
Variants§
TestString(TestString)
A simple object containing a string; for testing only
Trait Implementations§
Source§impl Clone for TestString
impl Clone for TestString
Source§fn clone(&self) -> TestString
fn clone(&self) -> TestString
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 TestString
impl Debug for TestString
Source§impl<'de> Deserialize<'de> for TestString
impl<'de> Deserialize<'de> for TestString
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 TestString
impl PartialEq for TestString
Source§impl Serialize for TestString
impl Serialize for TestString
impl StructuralPartialEq for TestString
Auto Trait Implementations§
impl Freeze for TestString
impl RefUnwindSafe for TestString
impl Send for TestString
impl Sync for TestString
impl Unpin for TestString
impl UnwindSafe for TestString
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