1.7 KiB
Planets
Source: src/planet.rs
Information about planets in our solar system.
Notice the planets in PLANETS are stored in a special order
known as the Ptolemaic Order. In many ancient traditions,
when a man is deceased, he will depart the Earth,
and head toward the Moon. Leaving the Moon behind,
the Mercury, the Venus, and the Sun. He will continue
his journey after the Sun, this time, to the outer planets,
that are the Mars, the Jupiter, and the Saturn.
After all, this library provides methodologies NOT for "astronomy", but for "astrology", hence, follows the tradition which was common to the ancients.
Also noteworthy that, according to Rudolf Steiner, "Mercury" was formerly known as "Venus" in ancient times. Yet, it is only so when we are talking about the order of the physical planets, not in its symbolical sense. For instance, when ancients mentioned of "Mercury", it was simply about "Mercury" and not "Venus".
planet::Planet
A struct representing a planet and stores its attributes.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Planet {
pub name: Language,
}
planet::PlanetRawData
A temporary struct for loading JSON data when defining a static const PLANETS.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct PlanetRawData {
pub name: LanguageData,
}
planet::PLANETS
Vec<Planet>
A static vector with 11 items, each represents a planet in our solar system. Planets are in Ptolemaic order.
[0] Earth
[1] Moon
[2] Mercury
[3] Venus
[4] Sun
[5] Mars
[6] Jupiter
[7] Saturn
[8] Uranus
[9] Neptune
[10] Pluto
For attributes details stored in the vector is found in JSON file: json/planets.json