pub struct ProjectFile {
pub url: String,
pub plate: u32,
pub subtask_name: String,
pub md5: String,
pub bed_type: String,
pub use_ams: bool,
pub ams_mapping: Vec<i32>,
pub timelapse: bool,
pub flow_cali: bool,
pub bed_leveling: bool,
pub vibration_cali: bool,
pub layer_inspect: bool,
}Expand description
Parameters for print.project_file — start a sliced .gcode.3mf that is
already on the printer’s storage.
Field shapes are spec-derived (OpenBambuAPI) and must be confirmed on real
hardware (the device is the source of truth — start the print and verify it
reaches RUNNING). Calibration flags default to on, matching a normal slice.
Fields§
§url: StringURL of the file on the printer, e.g. ftp:///cache/foo.gcode.3mf.
plate: u32Plate number; the gcode is read from Metadata/plate_{plate}.gcode.
subtask_name: StringJob name shown on the printer.
md5: StringLowercase-hex md5 of the plate gcode (empty to skip the check).
bed_type: StringBuild-plate type (auto, or a specific plate name).
use_ams: boolUse the AMS, with a per-filament tray mapping (-1 = external spool).
ams_mapping: Vec<i32>§timelapse: bool§flow_cali: bool§bed_leveling: bool§vibration_cali: bool§layer_inspect: boolImplementations§
Trait Implementations§
Source§impl Clone for ProjectFile
impl Clone for ProjectFile
Source§fn clone(&self) -> ProjectFile
fn clone(&self) -> ProjectFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectFile
impl Debug for ProjectFile
impl Eq for ProjectFile
Source§impl PartialEq for ProjectFile
impl PartialEq for ProjectFile
Source§fn eq(&self, other: &ProjectFile) -> bool
fn eq(&self, other: &ProjectFile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProjectFile
Auto Trait Implementations§
impl Freeze for ProjectFile
impl RefUnwindSafe for ProjectFile
impl Send for ProjectFile
impl Sync for ProjectFile
impl Unpin for ProjectFile
impl UnsafeUnpin for ProjectFile
impl UnwindSafe for ProjectFile
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.