Struct rust_tdlib::types::DraftMessage
source · [−]pub struct DraftMessage { /* private fields */ }
Expand description
Contains information about a message draft
Implementations
sourceimpl DraftMessage
impl DraftMessage
Trait Implementations
sourceimpl AsRef<DraftMessage> for DraftMessage
impl AsRef<DraftMessage> for DraftMessage
sourcefn as_ref(&self) -> &DraftMessage
fn as_ref(&self) -> &DraftMessage
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for DraftMessage
impl Clone for DraftMessage
sourcefn clone(&self) -> DraftMessage
fn clone(&self) -> DraftMessage
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 DraftMessage
impl Debug for DraftMessage
sourceimpl Default for DraftMessage
impl Default for DraftMessage
sourcefn default() -> DraftMessage
fn default() -> DraftMessage
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DraftMessage
impl<'de> Deserialize<'de> for DraftMessage
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 DraftMessage
impl Serialize for DraftMessage
Auto Trait Implementations
impl RefUnwindSafe for DraftMessage
impl Send for DraftMessage
impl Sync for DraftMessage
impl Unpin for DraftMessage
impl UnwindSafe for DraftMessage
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