[−][src]Enum grammers_tl_types::enums::MessageAction
Variants
Empty(MessageActionEmpty)
ChatCreate(MessageActionChatCreate)
ChatEditTitle(MessageActionChatEditTitle)
ChatEditPhoto(MessageActionChatEditPhoto)
ChatDeletePhoto(MessageActionChatDeletePhoto)
ChatAddUser(MessageActionChatAddUser)
ChatDeleteUser(MessageActionChatDeleteUser)
ChatJoinedByLink(MessageActionChatJoinedByLink)
ChannelCreate(MessageActionChannelCreate)
ChatMigrateTo(MessageActionChatMigrateTo)
ChannelMigrateFrom(MessageActionChannelMigrateFrom)
PinMessage(MessageActionPinMessage)
HistoryClear(MessageActionHistoryClear)
GameScore(MessageActionGameScore)
PaymentSentMe(MessageActionPaymentSentMe)
PaymentSent(MessageActionPaymentSent)
PhoneCall(MessageActionPhoneCall)
ScreenshotTaken(MessageActionScreenshotTaken)
CustomAction(MessageActionCustomAction)
BotAllowed(MessageActionBotAllowed)
SecureValuesSentMe(MessageActionSecureValuesSentMe)
SecureValuesSent(MessageActionSecureValuesSent)
ContactSignUp(MessageActionContactSignUp)
Trait Implementations
impl Clone for MessageAction
[src]
fn clone(&self) -> MessageAction
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MessageAction
[src]
impl Deserializable for MessageAction
[src]
fn deserialize(buf: &'a mut Cursor<'b>) -> Result<Self, DeserializeError>
[src]
fn from_bytes(buf: &[u8]) -> Result<Self, DeserializeError> where
Self: Sized,
[src]
Self: Sized,
impl From<MessageActionBotAllowed> for MessageAction
[src]
fn from(x: MessageActionBotAllowed) -> Self
[src]
impl From<MessageActionChannelCreate> for MessageAction
[src]
fn from(x: MessageActionChannelCreate) -> Self
[src]
impl From<MessageActionChannelMigrateFrom> for MessageAction
[src]
fn from(x: MessageActionChannelMigrateFrom) -> Self
[src]
impl From<MessageActionChatAddUser> for MessageAction
[src]
fn from(x: MessageActionChatAddUser) -> Self
[src]
impl From<MessageActionChatCreate> for MessageAction
[src]
fn from(x: MessageActionChatCreate) -> Self
[src]
impl From<MessageActionChatDeletePhoto> for MessageAction
[src]
fn from(x: MessageActionChatDeletePhoto) -> Self
[src]
impl From<MessageActionChatDeleteUser> for MessageAction
[src]
fn from(x: MessageActionChatDeleteUser) -> Self
[src]
impl From<MessageActionChatEditPhoto> for MessageAction
[src]
fn from(x: MessageActionChatEditPhoto) -> Self
[src]
impl From<MessageActionChatEditTitle> for MessageAction
[src]
fn from(x: MessageActionChatEditTitle) -> Self
[src]
impl From<MessageActionChatJoinedByLink> for MessageAction
[src]
fn from(x: MessageActionChatJoinedByLink) -> Self
[src]
impl From<MessageActionChatMigrateTo> for MessageAction
[src]
fn from(x: MessageActionChatMigrateTo) -> Self
[src]
impl From<MessageActionContactSignUp> for MessageAction
[src]
fn from(x: MessageActionContactSignUp) -> Self
[src]
impl From<MessageActionCustomAction> for MessageAction
[src]
fn from(x: MessageActionCustomAction) -> Self
[src]
impl From<MessageActionEmpty> for MessageAction
[src]
fn from(x: MessageActionEmpty) -> Self
[src]
impl From<MessageActionGameScore> for MessageAction
[src]
fn from(x: MessageActionGameScore) -> Self
[src]
impl From<MessageActionHistoryClear> for MessageAction
[src]
fn from(x: MessageActionHistoryClear) -> Self
[src]
impl From<MessageActionPaymentSent> for MessageAction
[src]
fn from(x: MessageActionPaymentSent) -> Self
[src]
impl From<MessageActionPaymentSentMe> for MessageAction
[src]
fn from(x: MessageActionPaymentSentMe) -> Self
[src]
impl From<MessageActionPhoneCall> for MessageAction
[src]
fn from(x: MessageActionPhoneCall) -> Self
[src]
impl From<MessageActionPinMessage> for MessageAction
[src]
fn from(x: MessageActionPinMessage) -> Self
[src]
impl From<MessageActionScreenshotTaken> for MessageAction
[src]
fn from(x: MessageActionScreenshotTaken) -> Self
[src]
impl From<MessageActionSecureValuesSent> for MessageAction
[src]
fn from(x: MessageActionSecureValuesSent) -> Self
[src]
impl From<MessageActionSecureValuesSentMe> for MessageAction
[src]
fn from(x: MessageActionSecureValuesSentMe) -> Self
[src]
impl PartialEq<MessageAction> for MessageAction
[src]
fn eq(&self, other: &MessageAction) -> bool
[src]
fn ne(&self, other: &MessageAction) -> bool
[src]
impl Serializable for MessageAction
[src]
impl StructuralPartialEq for MessageAction
[src]
impl TryFrom<MessageAction> for MessageActionBotAllowed
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionChannelCreate
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionChatMigrateTo
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionContactSignUp
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionCustomAction
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionEmpty
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionGameScore
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionHistoryClear
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionPaymentSent
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionPaymentSentMe
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionPhoneCall
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionPinMessage
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionChannelMigrateFrom
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionScreenshotTaken
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionSecureValuesSent
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionSecureValuesSentMe
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionChatAddUser
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionChatCreate
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionChatDeletePhoto
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionChatDeleteUser
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionChatEditPhoto
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionChatEditTitle
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
impl TryFrom<MessageAction> for MessageActionChatJoinedByLink
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: MessageAction) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for MessageAction
impl Send for MessageAction
impl Sync for MessageAction
impl Unpin for MessageAction
impl UnwindSafe for MessageAction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,