pub struct CaptureRun {
pub id: String,
pub started_at: u64,
pub label: String,
pub cameras: Vec<CaptureCam>,
}Expand description
One capture run (a print’s recordings), newest first when listed.
Fields§
§id: StringThe run dir name, e.g. 1781634785_cube-petg2_gcode_3mf.
started_at: u64Unix epoch parsed from the dir name prefix (0 if unparseable).
label: StringThe human-ish remainder of the dir name (the sanitized job name).
cameras: Vec<CaptureCam>Trait Implementations§
Source§impl Clone for CaptureRun
impl Clone for CaptureRun
Source§fn clone(&self) -> CaptureRun
fn clone(&self) -> CaptureRun
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CaptureRun
impl Debug for CaptureRun
impl Eq for CaptureRun
Source§impl PartialEq for CaptureRun
impl PartialEq for CaptureRun
Source§fn eq(&self, other: &CaptureRun) -> bool
fn eq(&self, other: &CaptureRun) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CaptureRun
impl Serialize for CaptureRun
impl StructuralPartialEq for CaptureRun
Auto Trait Implementations§
impl Freeze for CaptureRun
impl RefUnwindSafe for CaptureRun
impl Send for CaptureRun
impl Sync for CaptureRun
impl Unpin for CaptureRun
impl UnsafeUnpin for CaptureRun
impl UnwindSafe for CaptureRun
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.