pub struct FilamentConsumedPayload {Show 13 fields
pub analysed_length_mm: Option<f64>,
pub charge_key: ChargeKey,
pub density_g_cm3: Option<f64>,
pub diameter_mm: Option<f64>,
pub grams: Option<f64>,
pub length_mm: f64,
pub method: ChargeMethod,
pub note: Option<String>,
pub position: Option<FilePosition>,
pub remaining_after_g: Option<f64>,
pub remaining_before_g: Option<f64>,
pub spool_id: Option<SpoolId>,
pub tool: i64,
}Expand description
Filament was charged against a spool, or recorded uncharged.
Fields§
§analysed_length_mm: Option<f64>The file’s analysed length for the tool, in millimetres, when it had one.
charge_key: ChargeKeyThe durable identity of this debit.
density_g_cm3: Option<f64>The density the grams were worked out with, in grams per cubic centimetre.
diameter_mm: Option<f64>The diameter the grams were worked out with, in millimetres.
grams: Option<f64>What that length weighs, in grams, when a spool gave its diameter and density.
length_mm: f64How much was fed, in millimetres.
method: ChargeMethodHow the length was worked out.
note: Option<String>Anything a reader needs to make sense of the figure.
position: Option<FilePosition>How far into the file the charge runs, when that was read.
remaining_after_g: Option<f64>The spool’s figure after it, in grams.
remaining_before_g: Option<f64>The spool’s figure before the charge, in grams.
spool_id: Option<SpoolId>The spool charged; absent when nothing was tracked on the tool, and the filament was recorded uncharged.
tool: i64The tool that fed it.