pub struct SpoolAdjustedPayload {
pub actor: Actor,
pub cleared_marks: Option<Vec<ClearedMark>>,
pub gross_g: Option<f64>,
pub reason: String,
pub remaining_after_g: f64,
pub remaining_before_g: f64,
pub spool_id: SpoolId,
pub took_pending: Option<Vec<PendingTaken>>,
}Expand description
A spool’s remaining figure was corrected.
Fields§
§actor: ActorWho corrected it.
cleared_marks: Option<Vec<ClearedMark>>Every mark the correction cleared.
gross_g: Option<f64>The scale reading the figure was worked out from, when it was given as one.
reason: StringWhy.
remaining_after_g: f64Its figure after, in grams.
remaining_before_g: f64Its figure before, in grams, after any pending charge it took.
spool_id: SpoolIdThe spool corrected.
took_pending: Option<Vec<PendingTaken>>The pending charges the correction took first, each also its own
filament_consumed event under its key.
Trait Implementations§
Source§impl Clone for SpoolAdjustedPayload
impl Clone for SpoolAdjustedPayload
Source§impl Debug for SpoolAdjustedPayload
impl Debug for SpoolAdjustedPayload
Source§impl<'de> Deserialize<'de> for SpoolAdjustedPayload
impl<'de> Deserialize<'de> for SpoolAdjustedPayload
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 SpoolAdjustedPayload
impl PartialEq for SpoolAdjustedPayload
Source§impl Serialize for SpoolAdjustedPayload
impl Serialize for SpoolAdjustedPayload
impl StructuralPartialEq for SpoolAdjustedPayload
Auto Trait Implementations§
impl Freeze for SpoolAdjustedPayload
impl RefUnwindSafe for SpoolAdjustedPayload
impl Send for SpoolAdjustedPayload
impl Sync for SpoolAdjustedPayload
impl Unpin for SpoolAdjustedPayload
impl UnsafeUnpin for SpoolAdjustedPayload
impl UnwindSafe for SpoolAdjustedPayload
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