Enum otter_api_tests::shapelib::MgmtGameInstruction[][src]

pub enum MgmtGameInstruction {
Show variants Noop, Info, SetTableSize(PosC<i32>), SetTableColour(ColourSpec), Synch, SynchLog, PieceIdLookupFwd { piece: PieceId, player: PlayerId, }, PieceIdLookupRev { vpid: VisiblePieceId, player: PlayerId, }, ListPieces, AddPieces(PiecesSpec), DeletePiece(PieceId), DeletePieceAlias(String), DefinePieceAlias { alias: String, target: Box<dyn PieceSpec + 'static, Global>, }, ResetPlayerAccess(PlayerId), RedeliverPlayerAccess(PlayerId), JoinGame { details: MgmtPlayerDetails, }, UpdatePlayer { player: PlayerId, details: MgmtPlayerDetails, }, LeaveGame(PlayerId), SetLinks(HashMap<LinkKind, UrlSpec, RandomState>), RemoveLink { kind: LinkKind, }, SetLink { kind: LinkKind, url: UrlSpec, }, ClearLog, SetACL { acl: Acl<TablePermission>, },
}

Variants

Noop
Info
SetTableSize(PosC<i32>)
SetTableColour(ColourSpec)
Synch

For testing, mostly.

SynchLog
PieceIdLookupFwd

For testing only

Fields of PieceIdLookupFwd

piece: PieceIdplayer: PlayerId
PieceIdLookupRev

For testing only

Fields of PieceIdLookupRev

vpid: VisiblePieceIdplayer: PlayerId
ListPieces
AddPieces(PiecesSpec)
DeletePiece(PieceId)
DeletePieceAlias(String)
DefinePieceAlias

Fields of DefinePieceAlias

alias: Stringtarget: Box<dyn PieceSpec + 'static, Global>
ResetPlayerAccess(PlayerId)
RedeliverPlayerAccess(PlayerId)
JoinGame

Fields of JoinGame

details: MgmtPlayerDetails
UpdatePlayer

Fields of UpdatePlayer

player: PlayerIddetails: MgmtPlayerDetails
LeaveGame(PlayerId)

Fields of RemoveLink

kind: LinkKind

Fields of SetLink

kind: LinkKindurl: UrlSpec
ClearLog
SetACL

Fields of SetACL

acl: Acl<TablePermission>

Trait Implementations

impl Debug for MgmtGameInstruction[src]

impl<'de> Deserialize<'de> for MgmtGameInstruction[src]

impl Serialize for MgmtGameInstruction[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<A> DynCastExt for A

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,