pub enum ExplorerToPlanetKind {
SupportedResourceRequest,
SupportedCombinationRequest,
GenerateResourceRequest,
CombineResourceRequest,
AvailableEnergyCellRequest,
}Variants§
SupportedResourceRequest
This variant is used to ask the Planet for the available BasicResourceType
Expected Response: PlanetToExplorer::SupportedResourceResponse
Use Case: Asking Available Basic Resources
SupportedCombinationRequest
This variant is used to ask the Planet for the available ComplexResourceType
Expected Response: PlanetToExplorer::SupportedCombinationResponse
Use Case: Asking Available Complex Resources
GenerateResourceRequest
This variant is used to ask the Planet to generate a BasicResource
Expected Response: PlanetToExplorer::GenerateResourceResponse
Use Case: Asking to craft a Basic Resource
CombineResourceRequest
This variant is used to ask the Planet to generate a ComplexResource using the ComplexResourceRequest
Expected Response: PlanetToExplorer::CombineResourceResponse
Use Case: Asking to craft a Complex Resource
AvailableEnergyCellRequest
This variant is used to ask the Planet for the available charged EnergyCell number
Expected Response: PlanetToExplorer::AvailableEnergyCellResponse
Use Case: Asking the number of charged cells available
Trait Implementations§
Source§impl Clone for ExplorerToPlanetKind
impl Clone for ExplorerToPlanetKind
Source§fn clone(&self) -> ExplorerToPlanetKind
fn clone(&self) -> ExplorerToPlanetKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more