Enum rtdlib::types::TdType[][src]

pub enum TdType {
Show 168 variants TestUseUpdate(TestUseUpdate), UpdateActiveNotifications(UpdateActiveNotifications), UpdateAuthorizationState(UpdateAuthorizationState), UpdateBasicGroup(UpdateBasicGroup), UpdateBasicGroupFullInfo(UpdateBasicGroupFullInfo), UpdateCall(UpdateCall), UpdateChatDefaultDisableNotification(UpdateChatDefaultDisableNotification), UpdateChatDraftMessage(UpdateChatDraftMessage), UpdateChatIsMarkedAsUnread(UpdateChatIsMarkedAsUnread), UpdateChatIsPinned(UpdateChatIsPinned), UpdateChatIsSponsored(UpdateChatIsSponsored), UpdateChatLastMessage(UpdateChatLastMessage), UpdateChatNotificationSettings(UpdateChatNotificationSettings), UpdateChatOnlineMemberCount(UpdateChatOnlineMemberCount), UpdateChatOrder(UpdateChatOrder), UpdateChatPermissions(UpdateChatPermissions), UpdateChatPhoto(UpdateChatPhoto), UpdateChatPinnedMessage(UpdateChatPinnedMessage), UpdateChatReadInbox(UpdateChatReadInbox), UpdateChatReadOutbox(UpdateChatReadOutbox), UpdateChatReplyMarkup(UpdateChatReplyMarkup), UpdateChatTitle(UpdateChatTitle), UpdateChatUnreadMentionCount(UpdateChatUnreadMentionCount), UpdateConnectionState(UpdateConnectionState), UpdateDeleteMessages(UpdateDeleteMessages), UpdateFavoriteStickers(UpdateFavoriteStickers), UpdateFile(UpdateFile), UpdateFileGenerationStart(UpdateFileGenerationStart), UpdateFileGenerationStop(UpdateFileGenerationStop), UpdateHavePendingNotifications(UpdateHavePendingNotifications), UpdateInstalledStickerSets(UpdateInstalledStickerSets), UpdateLanguagePackStrings(UpdateLanguagePackStrings), UpdateMessageContent(UpdateMessageContent), UpdateMessageContentOpened(UpdateMessageContentOpened), UpdateMessageEdited(UpdateMessageEdited), UpdateMessageMentionRead(UpdateMessageMentionRead), UpdateMessageSendAcknowledged(UpdateMessageSendAcknowledged), UpdateMessageSendFailed(UpdateMessageSendFailed), UpdateMessageSendSucceeded(UpdateMessageSendSucceeded), UpdateMessageViews(UpdateMessageViews), UpdateNewCallbackQuery(UpdateNewCallbackQuery), UpdateNewChat(UpdateNewChat), UpdateNewChosenInlineResult(UpdateNewChosenInlineResult), UpdateNewCustomEvent(UpdateNewCustomEvent), UpdateNewCustomQuery(UpdateNewCustomQuery), UpdateNewInlineCallbackQuery(UpdateNewInlineCallbackQuery), UpdateNewInlineQuery(UpdateNewInlineQuery), UpdateNewMessage(UpdateNewMessage), UpdateNewPreCheckoutQuery(UpdateNewPreCheckoutQuery), UpdateNewShippingQuery(UpdateNewShippingQuery), UpdateNotification(UpdateNotification), UpdateNotificationGroup(UpdateNotificationGroup), UpdateOption(UpdateOption), UpdatePoll(UpdatePoll), UpdateRecentStickers(UpdateRecentStickers), UpdateSavedAnimations(UpdateSavedAnimations), UpdateScopeNotificationSettings(UpdateScopeNotificationSettings), UpdateSecretChat(UpdateSecretChat), UpdateSelectedBackground(UpdateSelectedBackground), UpdateServiceNotification(UpdateServiceNotification), UpdateSupergroup(UpdateSupergroup), UpdateSupergroupFullInfo(UpdateSupergroupFullInfo), UpdateTermsOfService(UpdateTermsOfService), UpdateTrendingStickerSets(UpdateTrendingStickerSets), UpdateUnreadChatCount(UpdateUnreadChatCount), UpdateUnreadMessageCount(UpdateUnreadMessageCount), UpdateUser(UpdateUser), UpdateUserChatAction(UpdateUserChatAction), UpdateUserFullInfo(UpdateUserFullInfo), UpdateUserPrivacySettingRules(UpdateUserPrivacySettingRules), UpdateUserStatus(UpdateUserStatus), AuthorizationState(AuthorizationState), CheckChatUsernameResult(CheckChatUsernameResult), JsonValue(JsonValue), LanguagePackStringValue(LanguagePackStringValue), LogStream(LogStream), OptionValue(OptionValue), PassportElement(PassportElement), Update(Update), AccountTtl(AccountTtl), Animations(Animations), AuthenticationCodeInfo(AuthenticationCodeInfo), AutoDownloadSettingsPresets(AutoDownloadSettingsPresets), Background(Background), Backgrounds(Backgrounds), BasicGroup(BasicGroup), BasicGroupFullInfo(BasicGroupFullInfo), CallId(CallId), CallbackQueryAnswer(CallbackQueryAnswer), Chat(Chat), ChatEvents(ChatEvents), ChatInviteLink(ChatInviteLink), ChatInviteLinkInfo(ChatInviteLinkInfo), ChatMember(ChatMember), ChatMembers(ChatMembers), ChatReportSpamState(ChatReportSpamState), Chats(Chats), ConnectedWebsites(ConnectedWebsites), Count(Count), CustomRequestResult(CustomRequestResult), DatabaseStatistics(DatabaseStatistics), DeepLinkInfo(DeepLinkInfo), EmailAddressAuthenticationCodeInfo(EmailAddressAuthenticationCodeInfo), Emojis(Emojis), Error(Error), File(File), FilePart(FilePart), FormattedText(FormattedText), FoundMessages(FoundMessages), GameHighScores(GameHighScores), Hashtags(Hashtags), HttpUrl(HttpUrl), ImportedContacts(ImportedContacts), InlineQueryResults(InlineQueryResults), LanguagePackInfo(LanguagePackInfo), LanguagePackStrings(LanguagePackStrings), LocalizationTargetInfo(LocalizationTargetInfo), LogTags(LogTags), LogVerbosityLevel(LogVerbosityLevel), Message(Message), MessageLinkInfo(MessageLinkInfo), Messages(Messages), NetworkStatistics(NetworkStatistics), Ok(Ok), OrderInfo(OrderInfo), PassportAuthorizationForm(PassportAuthorizationForm), PassportElements(PassportElements), PassportElementsWithErrors(PassportElementsWithErrors), PasswordState(PasswordState), PaymentForm(PaymentForm), PaymentReceipt(PaymentReceipt), PaymentResult(PaymentResult), Proxies(Proxies), Proxy(Proxy), PublicMessageLink(PublicMessageLink), PushReceiverId(PushReceiverId), RecoveryEmailAddress(RecoveryEmailAddress), ScopeNotificationSettings(ScopeNotificationSettings), Seconds(Seconds), SecretChat(SecretChat), Sessions(Sessions), StickerSet(StickerSet), StickerSets(StickerSets), Stickers(Stickers), StorageStatistics(StorageStatistics), StorageStatisticsFast(StorageStatisticsFast), Supergroup(Supergroup), SupergroupFullInfo(SupergroupFullInfo), TMeUrls(TMeUrls), TemporaryPasswordState(TemporaryPasswordState), TestBytes(TestBytes), TestInt(TestInt), TestString(TestString), TestVectorInt(TestVectorInt), TestVectorIntObject(TestVectorIntObject), TestVectorString(TestVectorString), TestVectorStringObject(TestVectorStringObject), Text(Text), TextEntities(TextEntities), Updates(Updates), User(User), UserFullInfo(UserFullInfo), UserPrivacySettingRules(UserPrivacySettingRules), UserProfilePhotos(UserProfilePhotos), Users(Users), ValidatedOrderInfo(ValidatedOrderInfo), WebPage(WebPage), WebPageInstantView(WebPageInstantView),
}

Variants

TestUseUpdate

Tuple Fields of TestUseUpdate

0: TestUseUpdate
UpdateActiveNotifications

Tuple Fields of UpdateActiveNotifications

0: UpdateActiveNotifications
UpdateAuthorizationState

Tuple Fields of UpdateAuthorizationState

0: UpdateAuthorizationState
UpdateBasicGroup

Tuple Fields of UpdateBasicGroup

0: UpdateBasicGroup
UpdateBasicGroupFullInfo

Tuple Fields of UpdateBasicGroupFullInfo

0: UpdateBasicGroupFullInfo
UpdateCall

Tuple Fields of UpdateCall

0: UpdateCall
UpdateChatDefaultDisableNotification

Tuple Fields of UpdateChatDefaultDisableNotification

0: UpdateChatDefaultDisableNotification
UpdateChatDraftMessage

Tuple Fields of UpdateChatDraftMessage

0: UpdateChatDraftMessage
UpdateChatIsMarkedAsUnread

Tuple Fields of UpdateChatIsMarkedAsUnread

0: UpdateChatIsMarkedAsUnread
UpdateChatIsPinned

Tuple Fields of UpdateChatIsPinned

0: UpdateChatIsPinned
UpdateChatIsSponsored

Tuple Fields of UpdateChatIsSponsored

0: UpdateChatIsSponsored
UpdateChatLastMessage

Tuple Fields of UpdateChatLastMessage

0: UpdateChatLastMessage
UpdateChatNotificationSettings

Tuple Fields of UpdateChatNotificationSettings

0: UpdateChatNotificationSettings
UpdateChatOnlineMemberCount

Tuple Fields of UpdateChatOnlineMemberCount

0: UpdateChatOnlineMemberCount
UpdateChatOrder

Tuple Fields of UpdateChatOrder

0: UpdateChatOrder
UpdateChatPermissions

Tuple Fields of UpdateChatPermissions

0: UpdateChatPermissions
UpdateChatPhoto

Tuple Fields of UpdateChatPhoto

0: UpdateChatPhoto
UpdateChatPinnedMessage

Tuple Fields of UpdateChatPinnedMessage

0: UpdateChatPinnedMessage
UpdateChatReadInbox

Tuple Fields of UpdateChatReadInbox

0: UpdateChatReadInbox
UpdateChatReadOutbox

Tuple Fields of UpdateChatReadOutbox

0: UpdateChatReadOutbox
UpdateChatReplyMarkup

Tuple Fields of UpdateChatReplyMarkup

0: UpdateChatReplyMarkup
UpdateChatTitle

Tuple Fields of UpdateChatTitle

0: UpdateChatTitle
UpdateChatUnreadMentionCount

Tuple Fields of UpdateChatUnreadMentionCount

0: UpdateChatUnreadMentionCount
UpdateConnectionState

Tuple Fields of UpdateConnectionState

0: UpdateConnectionState
UpdateDeleteMessages

Tuple Fields of UpdateDeleteMessages

0: UpdateDeleteMessages
UpdateFavoriteStickers

Tuple Fields of UpdateFavoriteStickers

0: UpdateFavoriteStickers
UpdateFile

Tuple Fields of UpdateFile

0: UpdateFile
UpdateFileGenerationStart

Tuple Fields of UpdateFileGenerationStart

0: UpdateFileGenerationStart
UpdateFileGenerationStop

Tuple Fields of UpdateFileGenerationStop

0: UpdateFileGenerationStop
UpdateHavePendingNotifications

Tuple Fields of UpdateHavePendingNotifications

0: UpdateHavePendingNotifications
UpdateInstalledStickerSets

Tuple Fields of UpdateInstalledStickerSets

0: UpdateInstalledStickerSets
UpdateLanguagePackStrings

Tuple Fields of UpdateLanguagePackStrings

0: UpdateLanguagePackStrings
UpdateMessageContent

Tuple Fields of UpdateMessageContent

0: UpdateMessageContent
UpdateMessageContentOpened

Tuple Fields of UpdateMessageContentOpened

0: UpdateMessageContentOpened
UpdateMessageEdited

Tuple Fields of UpdateMessageEdited

0: UpdateMessageEdited
UpdateMessageMentionRead

Tuple Fields of UpdateMessageMentionRead

0: UpdateMessageMentionRead
UpdateMessageSendAcknowledged

Tuple Fields of UpdateMessageSendAcknowledged

0: UpdateMessageSendAcknowledged
UpdateMessageSendFailed

Tuple Fields of UpdateMessageSendFailed

0: UpdateMessageSendFailed
UpdateMessageSendSucceeded

Tuple Fields of UpdateMessageSendSucceeded

0: UpdateMessageSendSucceeded
UpdateMessageViews

Tuple Fields of UpdateMessageViews

0: UpdateMessageViews
UpdateNewCallbackQuery

Tuple Fields of UpdateNewCallbackQuery

0: UpdateNewCallbackQuery
UpdateNewChat

Tuple Fields of UpdateNewChat

0: UpdateNewChat
UpdateNewChosenInlineResult

Tuple Fields of UpdateNewChosenInlineResult

0: UpdateNewChosenInlineResult
UpdateNewCustomEvent

Tuple Fields of UpdateNewCustomEvent

0: UpdateNewCustomEvent
UpdateNewCustomQuery

Tuple Fields of UpdateNewCustomQuery

0: UpdateNewCustomQuery
UpdateNewInlineCallbackQuery

Tuple Fields of UpdateNewInlineCallbackQuery

0: UpdateNewInlineCallbackQuery
UpdateNewInlineQuery

Tuple Fields of UpdateNewInlineQuery

0: UpdateNewInlineQuery
UpdateNewMessage

Tuple Fields of UpdateNewMessage

0: UpdateNewMessage
UpdateNewPreCheckoutQuery

Tuple Fields of UpdateNewPreCheckoutQuery

0: UpdateNewPreCheckoutQuery
UpdateNewShippingQuery

Tuple Fields of UpdateNewShippingQuery

0: UpdateNewShippingQuery
UpdateNotification

Tuple Fields of UpdateNotification

0: UpdateNotification
UpdateNotificationGroup

Tuple Fields of UpdateNotificationGroup

0: UpdateNotificationGroup
UpdateOption

Tuple Fields of UpdateOption

0: UpdateOption
UpdatePoll

Tuple Fields of UpdatePoll

0: UpdatePoll
UpdateRecentStickers

Tuple Fields of UpdateRecentStickers

0: UpdateRecentStickers
UpdateSavedAnimations

Tuple Fields of UpdateSavedAnimations

0: UpdateSavedAnimations
UpdateScopeNotificationSettings

Tuple Fields of UpdateScopeNotificationSettings

0: UpdateScopeNotificationSettings
UpdateSecretChat

Tuple Fields of UpdateSecretChat

0: UpdateSecretChat
UpdateSelectedBackground

Tuple Fields of UpdateSelectedBackground

0: UpdateSelectedBackground
UpdateServiceNotification

Tuple Fields of UpdateServiceNotification

0: UpdateServiceNotification
UpdateSupergroup

Tuple Fields of UpdateSupergroup

0: UpdateSupergroup
UpdateSupergroupFullInfo

Tuple Fields of UpdateSupergroupFullInfo

0: UpdateSupergroupFullInfo
UpdateTermsOfService

Tuple Fields of UpdateTermsOfService

0: UpdateTermsOfService
UpdateTrendingStickerSets

Tuple Fields of UpdateTrendingStickerSets

0: UpdateTrendingStickerSets
UpdateUnreadChatCount

Tuple Fields of UpdateUnreadChatCount

0: UpdateUnreadChatCount
UpdateUnreadMessageCount

Tuple Fields of UpdateUnreadMessageCount

0: UpdateUnreadMessageCount
UpdateUser

Tuple Fields of UpdateUser

0: UpdateUser
UpdateUserChatAction

Tuple Fields of UpdateUserChatAction

0: UpdateUserChatAction
UpdateUserFullInfo

Tuple Fields of UpdateUserFullInfo

0: UpdateUserFullInfo
UpdateUserPrivacySettingRules

Tuple Fields of UpdateUserPrivacySettingRules

0: UpdateUserPrivacySettingRules
UpdateUserStatus

Tuple Fields of UpdateUserStatus

0: UpdateUserStatus
AuthorizationState

Tuple Fields of AuthorizationState

0: AuthorizationState
CheckChatUsernameResult

Tuple Fields of CheckChatUsernameResult

0: CheckChatUsernameResult
JsonValue

Tuple Fields of JsonValue

0: JsonValue
LanguagePackStringValue

Tuple Fields of LanguagePackStringValue

0: LanguagePackStringValue
LogStream

Tuple Fields of LogStream

0: LogStream
OptionValue

Tuple Fields of OptionValue

0: OptionValue
PassportElement

Tuple Fields of PassportElement

0: PassportElement
Update

Tuple Fields of Update

0: Update
AccountTtl

Tuple Fields of AccountTtl

0: AccountTtl
Animations

Tuple Fields of Animations

0: Animations
AuthenticationCodeInfo

Tuple Fields of AuthenticationCodeInfo

0: AuthenticationCodeInfo
AutoDownloadSettingsPresets

Tuple Fields of AutoDownloadSettingsPresets

0: AutoDownloadSettingsPresets
Background

Tuple Fields of Background

0: Background
Backgrounds

Tuple Fields of Backgrounds

0: Backgrounds
BasicGroup

Tuple Fields of BasicGroup

0: BasicGroup
BasicGroupFullInfo

Tuple Fields of BasicGroupFullInfo

0: BasicGroupFullInfo
CallId

Tuple Fields of CallId

0: CallId
CallbackQueryAnswer

Tuple Fields of CallbackQueryAnswer

0: CallbackQueryAnswer
Chat

Tuple Fields of Chat

0: Chat
ChatEvents

Tuple Fields of ChatEvents

0: ChatEvents

Tuple Fields of ChatInviteLink

0: ChatInviteLink
ChatInviteLinkInfo

Tuple Fields of ChatInviteLinkInfo

0: ChatInviteLinkInfo
ChatMember

Tuple Fields of ChatMember

0: ChatMember
ChatMembers

Tuple Fields of ChatMembers

0: ChatMembers
ChatReportSpamState

Tuple Fields of ChatReportSpamState

0: ChatReportSpamState
Chats

Tuple Fields of Chats

0: Chats
ConnectedWebsites

Tuple Fields of ConnectedWebsites

0: ConnectedWebsites
Count

Tuple Fields of Count

0: Count
CustomRequestResult

Tuple Fields of CustomRequestResult

0: CustomRequestResult
DatabaseStatistics

Tuple Fields of DatabaseStatistics

0: DatabaseStatistics
DeepLinkInfo

Tuple Fields of DeepLinkInfo

0: DeepLinkInfo
EmailAddressAuthenticationCodeInfo

Tuple Fields of EmailAddressAuthenticationCodeInfo

0: EmailAddressAuthenticationCodeInfo
Emojis

Tuple Fields of Emojis

0: Emojis
Error

Tuple Fields of Error

0: Error
File

Tuple Fields of File

0: File
FilePart

Tuple Fields of FilePart

0: FilePart
FormattedText

Tuple Fields of FormattedText

0: FormattedText
FoundMessages

Tuple Fields of FoundMessages

0: FoundMessages
GameHighScores

Tuple Fields of GameHighScores

0: GameHighScores
Hashtags

Tuple Fields of Hashtags

0: Hashtags
HttpUrl

Tuple Fields of HttpUrl

0: HttpUrl
ImportedContacts

Tuple Fields of ImportedContacts

0: ImportedContacts
InlineQueryResults

Tuple Fields of InlineQueryResults

0: InlineQueryResults
LanguagePackInfo

Tuple Fields of LanguagePackInfo

0: LanguagePackInfo
LanguagePackStrings

Tuple Fields of LanguagePackStrings

0: LanguagePackStrings
LocalizationTargetInfo

Tuple Fields of LocalizationTargetInfo

0: LocalizationTargetInfo
LogTags

Tuple Fields of LogTags

0: LogTags
LogVerbosityLevel

Tuple Fields of LogVerbosityLevel

0: LogVerbosityLevel
Message

Tuple Fields of Message

0: Message
MessageLinkInfo

Tuple Fields of MessageLinkInfo

0: MessageLinkInfo
Messages

Tuple Fields of Messages

0: Messages
NetworkStatistics

Tuple Fields of NetworkStatistics

0: NetworkStatistics
Ok

Tuple Fields of Ok

0: Ok
OrderInfo

Tuple Fields of OrderInfo

0: OrderInfo
PassportAuthorizationForm

Tuple Fields of PassportAuthorizationForm

0: PassportAuthorizationForm
PassportElements

Tuple Fields of PassportElements

0: PassportElements
PassportElementsWithErrors

Tuple Fields of PassportElementsWithErrors

0: PassportElementsWithErrors
PasswordState

Tuple Fields of PasswordState

0: PasswordState
PaymentForm

Tuple Fields of PaymentForm

0: PaymentForm
PaymentReceipt

Tuple Fields of PaymentReceipt

0: PaymentReceipt
PaymentResult

Tuple Fields of PaymentResult

0: PaymentResult
Proxies

Tuple Fields of Proxies

0: Proxies
Proxy

Tuple Fields of Proxy

0: Proxy

Tuple Fields of PublicMessageLink

0: PublicMessageLink
PushReceiverId

Tuple Fields of PushReceiverId

0: PushReceiverId
RecoveryEmailAddress

Tuple Fields of RecoveryEmailAddress

0: RecoveryEmailAddress
ScopeNotificationSettings

Tuple Fields of ScopeNotificationSettings

0: ScopeNotificationSettings
Seconds

Tuple Fields of Seconds

0: Seconds
SecretChat

Tuple Fields of SecretChat

0: SecretChat
Sessions

Tuple Fields of Sessions

0: Sessions
StickerSet

Tuple Fields of StickerSet

0: StickerSet
StickerSets

Tuple Fields of StickerSets

0: StickerSets
Stickers

Tuple Fields of Stickers

0: Stickers
StorageStatistics

Tuple Fields of StorageStatistics

0: StorageStatistics
StorageStatisticsFast

Tuple Fields of StorageStatisticsFast

0: StorageStatisticsFast
Supergroup

Tuple Fields of Supergroup

0: Supergroup
SupergroupFullInfo

Tuple Fields of SupergroupFullInfo

0: SupergroupFullInfo
TMeUrls

Tuple Fields of TMeUrls

0: TMeUrls
TemporaryPasswordState

Tuple Fields of TemporaryPasswordState

0: TemporaryPasswordState
TestBytes

Tuple Fields of TestBytes

0: TestBytes
TestInt

Tuple Fields of TestInt

0: TestInt
TestString

Tuple Fields of TestString

0: TestString
TestVectorInt

Tuple Fields of TestVectorInt

0: TestVectorInt
TestVectorIntObject

Tuple Fields of TestVectorIntObject

0: TestVectorIntObject
TestVectorString

Tuple Fields of TestVectorString

0: TestVectorString
TestVectorStringObject

Tuple Fields of TestVectorStringObject

0: TestVectorStringObject
Text

Tuple Fields of Text

0: Text
TextEntities

Tuple Fields of TextEntities

0: TextEntities
Updates

Tuple Fields of Updates

0: Updates
User

Tuple Fields of User

0: User
UserFullInfo

Tuple Fields of UserFullInfo

0: UserFullInfo
UserPrivacySettingRules

Tuple Fields of UserPrivacySettingRules

0: UserPrivacySettingRules
UserProfilePhotos

Tuple Fields of UserProfilePhotos

0: UserProfilePhotos
Users

Tuple Fields of Users

0: Users
ValidatedOrderInfo

Tuple Fields of ValidatedOrderInfo

0: ValidatedOrderInfo
WebPage

Tuple Fields of WebPage

0: WebPage
WebPageInstantView

Tuple Fields of WebPageInstantView

0: WebPageInstantView

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Return td type to json string

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.