bambu 0.3.1

Rust crate that provides a high-level API for interacting with the BambuLab 3D printers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};
use smol_str::SmolStr;

use crate::mqtt::command::system::LedCtrl;

#[derive(Debug, Clone, PartialEq, Eq, Deserialize, Serialize)]
pub struct System {
    pub sequence_id: SmolStr,
    #[serde(flatten)]
    pub command: LedCtrl,
    pub reason: SmolStr,
    pub result: SmolStr,
}