Enum rust_tdlib::types::MessageSchedulingState
source · pub enum MessageSchedulingState {
SendAtDate(MessageSchedulingStateSendAtDate),
SendWhenOnline(MessageSchedulingStateSendWhenOnline),
// some variants omitted
}
Expand description
Contains information about the time when a scheduled message will be sent
Variants§
SendAtDate(MessageSchedulingStateSendAtDate)
The message will be sent at the specified date
SendWhenOnline(MessageSchedulingStateSendWhenOnline)
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§
Trait Implementations§
source§impl AsRef<MessageSchedulingState> for MessageSchedulingState
impl AsRef<MessageSchedulingState> for MessageSchedulingState
source§fn as_ref(&self) -> &MessageSchedulingState
fn as_ref(&self) -> &MessageSchedulingState
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for MessageSchedulingState
impl Clone for MessageSchedulingState
source§fn clone(&self) -> MessageSchedulingState
fn clone(&self) -> MessageSchedulingState
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 MessageSchedulingState
impl Debug for MessageSchedulingState
source§impl Default for MessageSchedulingState
impl Default for MessageSchedulingState
source§fn default() -> MessageSchedulingState
fn default() -> MessageSchedulingState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MessageSchedulingState
impl<'de> Deserialize<'de> for MessageSchedulingState
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