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
sourceimpl AsRef<MessageSchedulingState> for MessageSchedulingState
impl AsRef<MessageSchedulingState> for MessageSchedulingState
sourcefn as_ref(&self) -> &MessageSchedulingState
fn as_ref(&self) -> &MessageSchedulingState
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for MessageSchedulingState
impl Clone for MessageSchedulingState
sourcefn clone(&self) -> MessageSchedulingState
fn clone(&self) -> MessageSchedulingState
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 MessageSchedulingState
impl Debug for MessageSchedulingState
sourceimpl Default for MessageSchedulingState
impl Default for MessageSchedulingState
sourceimpl<'de> Deserialize<'de> for MessageSchedulingState
impl<'de> Deserialize<'de> for MessageSchedulingState
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 MessageSchedulingState
impl Serialize for MessageSchedulingState
Auto Trait Implementations
impl RefUnwindSafe for MessageSchedulingState
impl Send for MessageSchedulingState
impl Sync for MessageSchedulingState
impl Unpin for MessageSchedulingState
impl UnwindSafe for MessageSchedulingState
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