Crate ts_bookkeeping[][src]

Expand description

ts-bookkeeping contains structs to store the state of a TeamSpeak server, with its clients and channels.

The crate can be used to keep track of the state on a server by processing all incoming commands, which is why it is called “bookkeeping”. It also contains generated structs for all TeamSpeak commands.

Incoming commands can be applied to the state and generate events. The main struct is data::Connection.

The structs have methods to create packets for various actions. The generated packets can be sent to a server.

Modules

data
events
messages

Structs

ChannelGroupId

Identifies a channel group on a server.

ChannelId

Identifies a channel on a server.

ChannelPermissionHint

Hints if the client has the permission to make specific actions.

ClientDbId

The database id of a client.

ClientId

A ClientId identifies a client which is connected to a server.

ClientPermissionHint

Hints if the client has the permission to make specific actions.

ConnectOptions

The configuration to create a new connection.

DisconnectOptions
IconId
Invoker
InvokerRef
Permission
ServerGroupId

Identifies a server group on a server.

TalkPowerRequest
Uid
UidBuf

Describes a client or server uid which is a base64 encoded hash or a special reserved name.

Enums

ChannelType
ClientType
Codec
CodecEncryptionMode
Error
GroupNamingMode
GroupType
HostBannerMode
HostMessageMode
LicenseType
LogLevel
MaxClients
MessageTarget

All possible targets to send messages.

PermissionType
PluginTargetMode
Reason
ServerAddress
TextMessageTargetMode
TokenType
TsError
Version