#[non_exhaustive]pub struct Motor {Show 24 fields
pub id: u64,
pub path: String,
pub manufacturer: String,
pub designation: String,
pub common_name: Option<String>,
pub impulse_class: String,
pub diameter_mm: f64,
pub total_impulse_ns: Option<f64>,
pub avg_thrust_n: Option<f64>,
pub burn_time_s: Option<f64>,
pub propellant: Option<String>,
pub sparky: bool,
pub motor_type: Option<MotorType>,
pub case_info: Option<String>,
pub hazmat: Hazmat,
pub delays: Option<String>,
pub delay_adjustable: bool,
pub discontinued: bool,
pub in_stock: bool,
pub vendor_count: u32,
pub in_stock_vendor_count: u32,
pub listing_count: u32,
pub cheapest_in_stock: Option<Offer>,
pub listings: Vec<Listing>,
}Expand description
A motor, with every vendor’s listing of it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: u64The finder’s own id for the motor, stable across builds; not ThrustCurve’s.
path: StringThe path of the motor’s own page on the site.
manufacturer: StringThe manufacturer’s name, one of MANUFACTURERS today.
designation: StringThe designation, as ThrustCurve spells it (H128W, 3683L851-P).
common_name: Option<String>The designation without its propellant code (H128).
impulse_class: StringThe impulse class, one letter (D to O today).
diameter_mm: f64The motor’s diameter, mm.
total_impulse_ns: Option<f64>Total impulse, N·s.
avg_thrust_n: Option<f64>Average thrust, N.
burn_time_s: Option<f64>Burn time, s.
propellant: Option<String>The propellant’s trade name (White Lightning).
sparky: boolWhether the propellant throws sparks (a metal additive).
motor_type: Option<MotorType>A reload, a single-use motor or a hybrid.
case_info: Option<String>The reload hardware it fits (RMS-29/180); none for a single-use motor.
hazmat: HazmatWhether it ships as hazardous material, as the site labels it.
delays: Option<String>The delays it comes with, s, comma-separated, or P for plugged.
delay_adjustable: boolWhether the delay can be shortened by the flyer.
discontinued: boolOut of production: old stock only.
in_stock: boolIn stock at one vendor or more.
vendor_count: u32How many vendors list it, in stock or not.
in_stock_vendor_count: u32How many vendors have it in stock.
listing_count: u32How many listings it has: a vendor may list several (delays, packs).
cheapest_in_stock: Option<Offer>The in-stock listing with the lowest unit price; None exactly when out of stock.
listings: Vec<Listing>Every listing.