Struct rust_tdlib::types::TestString
source · [−]pub struct TestString { /* private fields */ }
Expand description
A simple object containing a string; for testing only
Implementations
Trait Implementations
sourceimpl AsRef<TestString> for TestString
impl AsRef<TestString> for TestString
sourcefn as_ref(&self) -> &TestString
fn as_ref(&self) -> &TestString
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for TestString
impl Clone for TestString
sourcefn clone(&self) -> TestString
fn clone(&self) -> TestString
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TestString
impl Debug for TestString
sourceimpl Default for TestString
impl Default for TestString
sourcefn default() -> TestString
fn default() -> TestString
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TestString
impl<'de> Deserialize<'de> for TestString
sourcefn 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
sourceimpl Serialize for TestString
impl Serialize for TestString
Auto Trait Implementations
impl RefUnwindSafe for TestString
impl Send for TestString
impl Sync for TestString
impl Unpin for TestString
impl UnwindSafe for TestString
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more