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§
source§impl AsRef<MessageSendingState> for MessageSendingState
impl AsRef<MessageSendingState> for MessageSendingState
source§fn as_ref(&self) -> &MessageSendingState
fn as_ref(&self) -> &MessageSendingState
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for MessageSendingState
impl Clone for MessageSendingState
source§fn clone(&self) -> MessageSendingState
fn clone(&self) -> MessageSendingState
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 MessageSendingState
impl Debug for MessageSendingState
source§impl Default for MessageSendingState
impl Default for MessageSendingState
source§fn default() -> MessageSendingState
fn default() -> MessageSendingState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MessageSendingState
impl<'de> Deserialize<'de> for MessageSendingState
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