pub struct Planetesimal {
Show 44 fields pub a: f64, pub b: f64, pub e: f64, pub distance_to_primary_star: f64, pub mass: f64, pub earth_masses: f64, pub is_gas_giant: bool, pub orbit_zone: i32, pub radius: f64, pub earth_radii: f64, pub density: f64, pub resonant_period: bool, pub axial_tilt: f64, pub escape_velocity: f64, pub surface_accel: f64, pub surface_grav: f64, pub rms_velocity: f64, pub escape_velocity_km_per_sec: f64, pub orbital_period_days: f64, pub day_hours: f64, pub length_of_year: f64, pub molecule_weight: f64, pub volatile_gas_inventory: f64, pub greenhouse_effect: bool, pub albedo: f64, pub is_tidally_locked: bool, pub surface_pressure_bar: f64, pub surface_temp_kelvin: f64, pub day_temp_kelvin: f64, pub night_temp_kelvin: f64, pub boiling_point_kelvin: f64, pub hydrosphere: f64, pub cloud_cover: f64, pub ice_cover: f64, pub moons: Vec<Planetesimal>, pub rings: Vec<Ring>, pub is_moon: bool, pub orbit_clearing: f64, pub is_dwarf_planet: bool, pub hill_sphere: f64, pub tectonic_activity: bool, pub magnetosphere: bool, pub has_collision: bool, pub id: String,
}

Fields

a: f64b: f64e: f64distance_to_primary_star: f64mass: f64earth_masses: f64is_gas_giant: boolorbit_zone: i32radius: f64earth_radii: f64density: f64resonant_period: boolaxial_tilt: f64escape_velocity: f64surface_accel: f64surface_grav: f64rms_velocity: f64escape_velocity_km_per_sec: f64orbital_period_days: f64day_hours: f64length_of_year: f64molecule_weight: f64volatile_gas_inventory: f64greenhouse_effect: boolalbedo: f64is_tidally_locked: boolsurface_pressure_bar: f64surface_temp_kelvin: f64day_temp_kelvin: f64night_temp_kelvin: f64boiling_point_kelvin: f64hydrosphere: f64cloud_cover: f64ice_cover: f64moons: Vec<Planetesimal>rings: Vec<Ring>is_moon: boolorbit_clearing: f64is_dwarf_planet: boolhill_sphere: f64tectonic_activity: boolmagnetosphere: boolhas_collision: boolid: String

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.