Crate revolt_database

Source

Re-exports§

pub use iso8601_timestamp;
pub use mongodb;

Modules§

events
tasks
Semi-important background task management
util

Macros§

fixture
query

Structs§

AMQP
AppendMessage
Appended Information
Bot
Bot
BotInformation
Bot information for if the user is a bot
Category
Channel category
ChannelCompositeKey
Composite primary key consisting of channel and user id
ChannelUnread
Channel Unread
DocumentId
Just a string ID struct
Emoji
Emoji
File
File
FileHash
File hash
FileUsedFor
Information about what the file was used for
Interactions
Information to guide interactions on this message
Masquerade
Name and / or avatar override information
Member
Server Member
MemberCompositeKey
Composite primary key consisting of server and user id
Message
Message
MessageFilter
Message Filter
MessageFlagsValue
MessageQuery
Message Query
MigrationInfo
Document representing migration information
MongoDb
MongoDB implementation
PartialBot
PartialChannel
PartialFile
PartialFileHash
PartialMember
PartialMessage
PartialRole
PartialServer
PartialUser
PartialWebhook
PolicyChange
Platform policy change
RatelimitEvent
Ratelimit Event
ReferenceDb
Reference implementation
Relationship
Relationship entry indicating current status with other user
Report
User-generated platform moderation report
Role
Role
Server
Server
ServerBan
Server Ban
Snapshot
Snapshot of some content
SystemMessageChannels
System message channel assignments
User
User
UserProfile
User’s profile
UserStatus
User’s active status
Webhook
Webhook

Enums§

Channel
ChunkedServerMembersGenerator
Database
Database
DatabaseInfo
Database information to use to create a client
EmojiParent
Parent Id of the emoji
FieldsBot
Optional fields on bot object
FieldsChannel
Optional fields on channel object
FieldsMember
Optional fields on server member object
FieldsMessage
Optional fields on message
FieldsRole
Optional fields on server object
FieldsServer
Optional fields on server object
FieldsUser
Optional fields on user object
FieldsWebhook
Optional fields on webhook object
FileUsedForType
Type of object file was used for
Invite
Invite
MessageTimePeriod
Message Time Period
Metadata
Metadata associated with a file
Presence
Presence status
RatelimitEventType
Event type
RelationshipStatus
User’s relationship with another user (or themselves)
RemovalIntention
Member removal intention
SnapshotContent
Enum to map into different models that can be saved in a snapshot
SystemMessage
System Event
UserHint
Enumeration providing a hint to the type of user we are handling

Statics§

DISCRIMINATOR_SEARCH_SPACE

Traits§

AbstractAttachmentHashes
AbstractAttachments
AbstractBots
AbstractChannelInvites
AbstractChannelUnreads
AbstractChannels
AbstractDatabase
AbstractEmojis
AbstractMessages
AbstractMigrations
AbstractPolicyChange
AbstractRatelimitEvents
AbstractReport
AbstractServerBans
AbstractServerMembers
AbstractServers
AbstractSnapshot
AbstractUserSettings
AbstractUsers
AbstractWebhooks
IntoDocumentPath
UserSettingsImpl

Functions§

if_false
Utility function to check if a boolean value is false
if_option_false
Utility function to check if an option doesnt contain true
prefix_keys
Prefix keys on an arbitrary object

Type Aliases§

UserSettings