models/agent
Types
pub type Agent {
Agent(
account_id: account_id.AccountId,
symbol: agent_symbol.AgentSymbol,
headquarters: waypoint_symbol.WaypointSymbol,
credits: Int,
starting_faction: faction_symbol.FactionSymbol,
ship_count: Int,
)
}
Constructors
-
Agent( account_id: account_id.AccountId, symbol: agent_symbol.AgentSymbol, headquarters: waypoint_symbol.WaypointSymbol, credits: Int, starting_faction: faction_symbol.FactionSymbol, ship_count: Int, )
Values
pub fn decoder() -> decode.Decoder(Agent)