pub struct SpoolLoadedPayload {
pub actor: Actor,
pub cleared_marks: Option<Vec<ClearedMark>>,
pub reason: String,
pub replaced: Option<SpoolId>,
pub spool_id: SpoolId,
pub took_pending: Option<Vec<PendingTaken>>,
pub tool: i64,
}Expand description
A spool was loaded onto a tool, or confirmed as never having left it.
Fields§
§actor: ActorWho loaded it.
cleared_marks: Option<Vec<ClearedMark>>Every mark the load cleared, on either spool.
reason: StringWhy.
replaced: Option<SpoolId>The spool the load swapped off the tool, when it was occupied.
spool_id: SpoolIdThe spool loaded.
took_pending: Option<Vec<PendingTaken>>The pending charges the load took, each also its own
filament_consumed event under its key.
tool: i64The tool, in the printer’s own numbering.
Trait Implementations§
Source§impl Clone for SpoolLoadedPayload
impl Clone for SpoolLoadedPayload
Source§impl Debug for SpoolLoadedPayload
impl Debug for SpoolLoadedPayload
Source§impl<'de> Deserialize<'de> for SpoolLoadedPayload
impl<'de> Deserialize<'de> for SpoolLoadedPayload
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 SpoolLoadedPayload
impl PartialEq for SpoolLoadedPayload
Source§impl Serialize for SpoolLoadedPayload
impl Serialize for SpoolLoadedPayload
impl StructuralPartialEq for SpoolLoadedPayload
Auto Trait Implementations§
impl Freeze for SpoolLoadedPayload
impl RefUnwindSafe for SpoolLoadedPayload
impl Send for SpoolLoadedPayload
impl Sync for SpoolLoadedPayload
impl Unpin for SpoolLoadedPayload
impl UnsafeUnpin for SpoolLoadedPayload
impl UnwindSafe for SpoolLoadedPayload
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