Skip to main content

PrintData

Struct PrintData 

Source
pub struct PrintData {
Show 56 fields pub upload: Option<PrintUpload>, pub nozzle_temper: Option<f64>, pub nozzle_target_temper: Option<i64>, pub bed_temper: Option<f64>, pub bed_target_temper: Option<i64>, pub chamber_temper: Option<i64>, pub mc_print_stage: Option<String>, pub heatbreak_fan_speed: Option<String>, pub cooling_fan_speed: Option<String>, pub big_fan1_speed: Option<String>, pub big_fan2_speed: Option<String>, pub mc_percent: Option<i64>, pub mc_remaining_time: Option<i64>, pub ams_status: Option<i64>, pub ams_rfid_status: Option<i64>, pub hw_switch_state: Option<i64>, pub spd_mag: Option<i64>, pub spd_lvl: Option<i64>, pub print_error: Option<i64>, pub lifecycle: Option<String>, pub wifi_signal: Option<String>, pub gcode_state: Option<String>, pub gcode_file_prepare_percent: Option<String>, pub queue_number: Option<i64>, pub queue_total: Option<i64>, pub queue_est: Option<i64>, pub queue_sts: Option<i64>, pub project_id: Option<String>, pub profile_id: Option<String>, pub task_id: Option<String>, pub subtask_id: Option<String>, pub subtask_name: Option<String>, pub gcode_file: Option<String>, pub stg: Option<Vec<Value>>, pub stg_cur: Option<i64>, pub print_type: Option<String>, pub home_flag: Option<i64>, pub mc_print_line_number: Option<String>, pub mc_print_sub_stage: Option<i64>, pub sdcard: Option<bool>, pub force_upgrade: Option<bool>, pub mess_production_state: Option<String>, pub layer_num: Option<i64>, pub total_layer_num: Option<i64>, pub s_obj: Option<Vec<Value>>, pub fan_gear: Option<i64>, pub hms: Option<Vec<Value>>, pub online: Option<PrintOnline>, pub ams: Option<PrintAms>, pub ipcam: Option<PrintIpcam>, pub vt_tray: Option<PrintVtTray>, pub lights_report: Option<Vec<PrintLightsReport>>, pub upgrade_state: Option<PrintUpgradeState>, pub command: Option<String>, pub msg: Option<i64>, pub sequence_id: Option<String>,
}

Fields§

§upload: Option<PrintUpload>§nozzle_temper: Option<f64>§nozzle_target_temper: Option<i64>§bed_temper: Option<f64>§bed_target_temper: Option<i64>§chamber_temper: Option<i64>§mc_print_stage: Option<String>§heatbreak_fan_speed: Option<String>§cooling_fan_speed: Option<String>§big_fan1_speed: Option<String>§big_fan2_speed: Option<String>§mc_percent: Option<i64>§mc_remaining_time: Option<i64>§ams_status: Option<i64>§ams_rfid_status: Option<i64>§hw_switch_state: Option<i64>§spd_mag: Option<i64>§spd_lvl: Option<i64>§print_error: Option<i64>§lifecycle: Option<String>§wifi_signal: Option<String>§gcode_state: Option<String>§gcode_file_prepare_percent: Option<String>§queue_number: Option<i64>§queue_total: Option<i64>§queue_est: Option<i64>§queue_sts: Option<i64>§project_id: Option<String>§profile_id: Option<String>§task_id: Option<String>§subtask_id: Option<String>§subtask_name: Option<String>§gcode_file: Option<String>§stg: Option<Vec<Value>>§stg_cur: Option<i64>§print_type: Option<String>§home_flag: Option<i64>§mc_print_line_number: Option<String>§mc_print_sub_stage: Option<i64>§sdcard: Option<bool>§force_upgrade: Option<bool>§mess_production_state: Option<String>§layer_num: Option<i64>§total_layer_num: Option<i64>§s_obj: Option<Vec<Value>>§fan_gear: Option<i64>§hms: Option<Vec<Value>>§online: Option<PrintOnline>§ams: Option<PrintAms>§ipcam: Option<PrintIpcam>§vt_tray: Option<PrintVtTray>§lights_report: Option<Vec<PrintLightsReport>>§upgrade_state: Option<PrintUpgradeState>§command: Option<String>§msg: Option<i64>§sequence_id: Option<String>

Trait Implementations§

Source§

impl Clone for PrintData

Source§

fn clone(&self) -> PrintData

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PrintData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PrintData

Source§

fn default() -> PrintData

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for PrintData

Source§

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 PrintData

Source§

fn eq(&self, other: &PrintData) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for PrintData

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for PrintData

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,