pub struct PendingCharge {
pub analysed_length_mm: Option<f64>,
pub charge_key: PrintSegmentKey,
pub length_mm: f64,
pub method: ChargeMethod,
pub note: Option<String>,
pub pended_at: Timestamp,
pub position: Option<FilePosition>,
}Expand description
Filament a tool fed after a filament change nobody has confirmed, held until somebody says which spool fed it.
A length rather than grams, because the grams follow the spool that takes it.
Fields§
§analysed_length_mm: Option<f64>The file’s analysed length for the tool, in millimetres, when it had one.
charge_key: PrintSegmentKeyThe print segment the filament was fed in, which names the print and the tool that fed it.
length_mm: f64How much was fed, in millimetres.
method: ChargeMethodHow that length was worked out.
note: Option<String>Anything a reader needs to make sense of the figure.
pended_at: TimestampWhen it was held.
position: Option<FilePosition>How far into the file the segment ran, when that was read.
Trait Implementations§
Source§impl Clone for PendingCharge
impl Clone for PendingCharge
Source§impl Debug for PendingCharge
impl Debug for PendingCharge
Source§impl<'de> Deserialize<'de> for PendingCharge
impl<'de> Deserialize<'de> for PendingCharge
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 PendingCharge
impl PartialEq for PendingCharge
Source§impl Serialize for PendingCharge
impl Serialize for PendingCharge
impl StructuralPartialEq for PendingCharge
Auto Trait Implementations§
impl Freeze for PendingCharge
impl RefUnwindSafe for PendingCharge
impl Send for PendingCharge
impl Sync for PendingCharge
impl Unpin for PendingCharge
impl UnsafeUnpin for PendingCharge
impl UnwindSafe for PendingCharge
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