Enum tdlib::enums::MessageSendingState
source · [−]pub enum MessageSendingState {
Pending,
Failed(MessageSendingStateFailed),
}Variants
Pending
The message is being sent now, but has not yet been delivered to the server
Failed(MessageSendingStateFailed)
The message failed to be sent
Trait Implementations
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<'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 PartialEq<MessageSendingState> for MessageSendingState
impl PartialEq<MessageSendingState> for MessageSendingState
sourcefn eq(&self, other: &MessageSendingState) -> bool
fn eq(&self, other: &MessageSendingState) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &MessageSendingState) -> bool
fn ne(&self, other: &MessageSendingState) -> bool
This method tests for !=.
sourceimpl Serialize for MessageSendingState
impl Serialize for MessageSendingState
impl StructuralPartialEq 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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more