Enum rust_tdlib::types::MessageSendingState
source · [−]pub enum MessageSendingState {
Failed(MessageSendingStateFailed),
Pending(MessageSendingStatePending),
// some variants omitted
}
Expand description
Contains information about the sending state of the message
Variants
Failed(MessageSendingStateFailed)
The message failed to be sent
Pending(MessageSendingStatePending)
The message is being sent now, but has not yet been delivered to the server
Implementations
Trait Implementations
sourceimpl AsRef<MessageSendingState> for MessageSendingState
impl AsRef<MessageSendingState> for MessageSendingState
sourcefn as_ref(&self) -> &MessageSendingState
fn as_ref(&self) -> &MessageSendingState
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for MessageSendingState
impl Clone for MessageSendingState
sourcefn clone(&self) -> MessageSendingState
fn clone(&self) -> MessageSendingState
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 MessageSendingState
impl Debug for MessageSendingState
sourceimpl Default for MessageSendingState
impl Default for MessageSendingState
sourceimpl<'de> Deserialize<'de> for MessageSendingState
impl<'de> Deserialize<'de> for MessageSendingState
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 MessageSendingState
impl Serialize for MessageSendingState
Auto Trait Implementations
impl RefUnwindSafe for MessageSendingState
impl Send for MessageSendingState
impl Sync for MessageSendingState
impl Unpin for MessageSendingState
impl UnwindSafe for MessageSendingState
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