pub struct FilamentChangeSignalledPayload {
pub position: Option<FilePosition>,
pub position_read_at_signal: bool,
pub source_kind: EventKind,
pub spool_id: Option<SpoolId>,
pub tool: Option<i64>,
}Expand description
A filament change was signalled during a print.
Fields§
§position: Option<FilePosition>The position the spool was charged up to, when one was known.
position_read_at_signal: boolWhether that position was read when the signal was handled, rather than being the last one recorded; never with no position at all.
source_kind: EventKindThe kind of the alert that carried the signal.
spool_id: Option<SpoolId>The spool that was on it, when one was tracked.
tool: Option<i64>The tool the change was signalled for, when it is known.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FilamentChangeSignalledPayload
impl<'de> Deserialize<'de> for FilamentChangeSignalledPayload
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 FilamentChangeSignalledPayload
Auto Trait Implementations§
impl Freeze for FilamentChangeSignalledPayload
impl RefUnwindSafe for FilamentChangeSignalledPayload
impl Send for FilamentChangeSignalledPayload
impl Sync for FilamentChangeSignalledPayload
impl Unpin for FilamentChangeSignalledPayload
impl UnsafeUnpin for FilamentChangeSignalledPayload
impl UnwindSafe for FilamentChangeSignalledPayload
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