endpoints/systems
Types
pub type ConstructionSiteSupplied {
ConstructionSiteSupplied(
construction: construction.Construction,
cargo: ship_cargo.ShipCargo,
)
}
Constructors
-
ConstructionSiteSupplied( construction: construction.Construction, cargo: ship_cargo.ShipCargo, )
Values
pub fn get_construction_site(
system_symbol: system_symbol.SystemSymbol,
waypoint_symbol: waypoint_symbol.WaypointSymbol,
) -> Result(construction.Construction, api.ApiError)
pub fn get_jump_gate(
system_symbol: system_symbol.SystemSymbol,
waypoint_symbol: waypoint_symbol.WaypointSymbol,
) -> Result(jump_gate.JumpGate, api.ApiError)
pub fn get_market(
system_symbol: system_symbol.SystemSymbol,
waypoint_symbol: waypoint_symbol.WaypointSymbol,
) -> Result(market.Market, api.ApiError)
pub fn get_shipyard(
system_symbol: system_symbol.SystemSymbol,
waypoint_symbol: waypoint_symbol.WaypointSymbol,
) -> Result(shipyard.Shipyard, api.ApiError)
pub fn get_system(
system_symbol: system_symbol.SystemSymbol,
) -> Result(system.System, api.ApiError)
pub fn get_waypoint(
system_symbol: system_symbol.SystemSymbol,
waypoint_symbol: waypoint_symbol.WaypointSymbol,
) -> Result(waypoint.Waypoint, api.ApiError)
pub fn list_system_waypoints(
system_symbol: system_symbol.SystemSymbol,
page: option.Option(Int),
limit: option.Option(Int),
type_: option.Option(waypoint_type.WaypointType),
traits: List(waypoint_trait_symbol.WaypointTraitSymbol),
) -> Result(api.PagedData(List(waypoint.Waypoint)), api.ApiError)
pub fn list_systems(
page: option.Option(Int),
limit: option.Option(Int),
) -> Result(api.PagedData(List(system.System)), api.ApiError)
pub fn supply_construction_site(
system_symbol: system_symbol.SystemSymbol,
waypoint_symbol: waypoint_symbol.WaypointSymbol,
ship_symbol: ship_symbol.ShipSymbol,
trade_symbol: trade_symbol.TradeSymbol,
units: Int,
) -> Result(ConstructionSiteSupplied, api.ApiError)