[][src]Enum rtdlib::types::MessageSchedulingState

pub enum MessageSchedulingState {
    SendAtDate(MessageSchedulingStateSendAtDate),
    SendWhenOnline(MessageSchedulingStateSendWhenOnline),
    // some variants omitted
}

Contains information about the time when a scheduled message will be sent

Variants

The message will be sent at the specified date

The message will be sent when the peer will be online. Applicable to private chats only and when the exact online status of the peer is known

Implementations

impl MessageSchedulingState[src]

Trait Implementations

impl AsRef<MessageSchedulingState> for MessageSchedulingState[src]

impl Clone for MessageSchedulingState[src]

impl Debug for MessageSchedulingState[src]

impl Default for MessageSchedulingState[src]

impl<'de> Deserialize<'de> for MessageSchedulingState[src]

impl RObject for MessageSchedulingState[src]

impl Serialize for MessageSchedulingState[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.