Skip to main content

MC

Type Alias MC 

Source
pub type MC = MgmtCommand;

Aliased Type§

pub enum MC {
Show 26 variants Noop, SetSuperuser(bool), SetRestrictedSshScope { key: KeySpec, }, CreateAccount(AccountDetails), UpdateAccount(AccountDetails), DeleteAccount(AccountName), ListAccounts { all: Option<bool>, }, SelectAccount(AccountName), CheckAccount, CreateGame { game: InstanceName, insns: Vec<MgmtGameInstruction>, }, ListGames { all: Option<bool>, }, AlterGame { game: InstanceName, insns: Vec<MgmtGameInstruction>, how: MgmtGameUpdateMode, }, DestroyGame { game: InstanceName, }, ClearBundles { game: InstanceName, }, UploadBundle { game: InstanceName, size: usize, hash: Hash, kind: Kind, progress: ProgressUpdateMode, }, ListBundles { game: InstanceName, }, DownloadBundle { game: InstanceName, id: Id, }, LibraryListLibraries { game: InstanceName, }, LibraryListByGlob { game: InstanceName, lib: Option<String>, pat: String, }, SshListKeys, SshAddKey { akl: AuthkeysLine, }, SshDeleteKey { index: usize, id: Id, }, ThisConnAuthBy, SshReinstallKeys, LoadFakeRng(Vec<String>), SetFakeTime(FakeTimeSpec),
}

Variants§

§

Noop

§

SetSuperuser(bool)

§

SetRestrictedSshScope

Fields

§

CreateAccount(AccountDetails)

§

UpdateAccount(AccountDetails)

§

DeleteAccount(AccountName)

§

ListAccounts

Fields

§

SelectAccount(AccountName)

§

CheckAccount

§

CreateGame

§

ListGames

Fields

§

AlterGame

§

DestroyGame

Fields

§

ClearBundles

Fields

§

UploadBundle

Fields

§size: usize
§hash: Hash
§kind: Kind
§

ListBundles

Fields

§

DownloadBundle

Fields

§id: Id
§

LibraryListLibraries

Fields

§

LibraryListByGlob

Fields

§

SshListKeys

§

SshAddKey

Fields

§

SshDeleteKey

Fields

§index: usize
§id: Id
§

ThisConnAuthBy

§

SshReinstallKeys

§

LoadFakeRng(Vec<String>)

§

SetFakeTime(FakeTimeSpec)