pub enum UnverifiedReason {
UnchargedPrint {
print_id: PrintId,
},
UnaccountedPrint {
file_name: String,
printed_at: Timestamp,
},
FilamentChangeUnconfirmed {
print_id: PrintId,
},
FilamentChangeUnconfirmedPosition {
print_id: PrintId,
},
TallyReset {
file_name: String,
origin: String,
},
}Expand description
Why a spool’s figure is in doubt.
Variants§
UnchargedPrint
A print ran on the spool’s tool and nothing could be charged, because the file had no analysis — an SD-card file, for one.
UnaccountedPrint
A print this system never saw ran and did not complete.
FilamentChangeUnconfirmed
A filament change was signalled and nobody has said which spool is now loaded. The spool was charged up to a position read when the signal was handled.
FilamentChangeUnconfirmedPosition
A filament change was signalled, nobody has said which spool is now loaded, and no fresh position could be read at the signal: the spool was charged only up to the last recorded position, so its figure may be overstated.
TallyReset
A file’s print tally was reset, and it cannot be told which of the prints since the re-upload were already settled.
Trait Implementations§
Source§impl Clone for UnverifiedReason
impl Clone for UnverifiedReason
Source§impl Debug for UnverifiedReason
impl Debug for UnverifiedReason
Source§impl<'de> Deserialize<'de> for UnverifiedReason
impl<'de> Deserialize<'de> for UnverifiedReason
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 UnverifiedReason
impl PartialEq for UnverifiedReason
Source§impl Serialize for UnverifiedReason
impl Serialize for UnverifiedReason
impl StructuralPartialEq for UnverifiedReason
Auto Trait Implementations§
impl Freeze for UnverifiedReason
impl RefUnwindSafe for UnverifiedReason
impl Send for UnverifiedReason
impl Sync for UnverifiedReason
impl Unpin for UnverifiedReason
impl UnsafeUnpin for UnverifiedReason
impl UnwindSafe for UnverifiedReason
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