pub struct Meta {
pub meta_version: Option<u32>,
pub timing: Timing,
pub materials: Option<Vec<Material>>,
pub sectors: Option<Vec<Sector>>,
pub printer: Option<Printer>,
pub anti_aliasing: Option<AntiAliasing>,
pub scale_compensation_pct: Option<ScaleCompensation>,
pub estimated_print_time_sec: Option<u32>,
pub estimated_resin_volume_ml: Option<f64>,
pub slicer: Option<Slicer>,
}Expand description
The META chunk: the resolved parameters for this print job.
Timing fields are flattened in, exactly as they sit at the top level of the
JSON object; see Timing.
Fields§
§meta_version: Option<u32>Schema version of the META payload.
timing: TimingTiming, motion, PWM and temperature fields.
materials: Option<Vec<Material>>Authoritative material library for this print.
sectors: Option<Vec<Sector>>One entry per non-zero sector this print uses, each carrying that sector’s identity and the base timing fields it changes.
printer: Option<Printer>Printer identity.
anti_aliasing: Option<AntiAliasing>Anti-aliasing settings, informational.
scale_compensation_pct: Option<ScaleCompensation>Per-axis scale compensation.
estimated_print_time_sec: Option<u32>Estimated print time in whole seconds, informational.
estimated_resin_volume_ml: Option<f64>Estimated resin volume in millilitres, informational.
slicer: Option<Slicer>Slicer attribution.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Meta
impl<'de> Deserialize<'de> for Meta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Meta
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnsafeUnpin for Meta
impl UnwindSafe for Meta
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more