Module butlerd::Responses [−][src]
Structs that define how the butlerd api responds to specific queries. These will often be returned from functions or requests for you to use.
Structs
BError |
A generic error struct. If the code is -1 or -2, it was a problem on this crate's side. Otherwise, butler returned this in response to a request |
BStart |
What butlerd prints at startup |
Build |
A specific build of a Game. Game must be wharf-enabled |
Cave |
A Cave holds a Game and associated info |
CaveSummary |
Summary of a cave's info |
CheckUpdate |
What you get back when you check for updates. Each item in updates represents a different game |
CleanDownloadsEntry |
Describes a directory that butler could clean up |
Collection |
Info on a game collection |
CollectionGame |
Info on a game within a game collection |
Commons |
Returned from fetch_commons. Most of butler's cached info |
Dates |
The base struct for publish/update dates |
Download |
A download from the download queue |
DownloadKey |
Representation of a download key for a purchased non-free game |
DownloadKeySummary |
Summary of a DownloadKey, but not an actual DownloadKey |
FsInfo |
Information on a filesystem. Returned by statfs |
Game |
Game Information |
GameUpdate |
Information on an avavilable update for a game |
GameUpdateChoice |
A choice of a possible update for a game. Higher confidence is usually better. |
InstallLocationSizeInfo |
Info on storage usage for an install location |
InstallLocationSummary |
Info on a game install location |
InstallQueueReq |
The request to queue up a game installation |
PassLogRes |
Butler's response when you login using an username and password |
Platforms |
A struct that holds the platforms an Upload is compatibile with |
Profile |
A Profile gives more information about a user through its id, but requires login |
ProfileGame |
A Game that the logged-in user's profile owns |
QueueResponse |
The response from queueing a game to be downloaded |
Response |
The base Response struct |
ResponseErr |
The base struct for responses with errors |
ResponseRes |
The base struct for responses with results |
Sale |
A sale on a given Game |
Upload |
A downloadable file. Has a build only if the game is wharf-enabled |
User |
An itch user's basic public info |
VersionInfo |
Butler daemon version info |
Enums
Archs |
The architectures that an Upload suppports |
DownloadReason |
The reason you gave to download a game |