pub struct JobManifest {
pub allowed: BTreeMap<String, Range>,
pub file_name: String,
pub material: String,
pub metadata: BTreeMap<String, String>,
pub nozzle_diameter_mm: f64,
pub slicer_profile: String,
}Expand description
What a sliced job declares about itself and about what may be adjusted.
An adjustable the manifest does not name takes the envelope’s own range; a manifest range wider than the envelope’s is narrowed to the envelope’s and the narrowing is recorded on the print. A manifest may only narrow.
Fields§
§allowed: BTreeMap<String, Range>The range each named adjustable may take, inclusive.
file_name: StringThe file this manifest is about, as the slicer named it.
material: StringThe material the job is sliced for.
metadata: BTreeMap<String, String>Whatever else the slicer recorded.
nozzle_diameter_mm: f64The nozzle the job is sliced for, in millimetres.
slicer_profile: StringThe slicer profile the job was sliced with.
Trait Implementations§
Source§impl Clone for JobManifest
impl Clone for JobManifest
Source§impl Debug for JobManifest
impl Debug for JobManifest
Source§impl<'de> Deserialize<'de> for JobManifest
impl<'de> Deserialize<'de> for JobManifest
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
Source§impl PartialEq for JobManifest
impl PartialEq for JobManifest
Source§impl Serialize for JobManifest
impl Serialize for JobManifest
impl StructuralPartialEq for JobManifest
Auto Trait Implementations§
impl Freeze for JobManifest
impl RefUnwindSafe for JobManifest
impl Send for JobManifest
impl Sync for JobManifest
impl Unpin for JobManifest
impl UnsafeUnpin for JobManifest
impl UnwindSafe for JobManifest
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