pub struct TestString { /* private fields */ }
Expand description
A simple object containing a string; for testing only
Implementations§
Trait Implementations§
Source§impl AsRef<TestString> for TestString
impl AsRef<TestString> for TestString
Source§fn as_ref(&self) -> &TestString
fn as_ref(&self) -> &TestString
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for TestString
impl Clone for TestString
Source§fn clone(&self) -> TestString
fn clone(&self) -> TestString
Returns a copy 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 Default for TestString
impl Default for TestString
Source§fn default() -> TestString
fn default() -> TestString
Returns the “default value” for a type. Read more
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
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