pub struct FreshView {
pub frame: Option<(String, FetchedImage)>,
pub plan: Option<PlanPosition>,
pub paused: bool,
pub camera_check: Option<EventRecord>,
}Expand description
What re-judging a print’s camera needs, read now.
Fields§
§frame: Option<(String, FetchedImage)>A good frame from the configured camera, not yet stored, and the URL it came from; none when no camera is configured or none came.
plan: Option<PlanPosition>Where the print stands in its own G-code, when it is open and its job is its own file.
paused: boolWhether the printer reports the print paused.
camera_check: Option<EventRecord>The record of the camera check the print started under, when it started under one.
Trait Implementations§
Auto Trait Implementations§
impl Forget for FreshView
impl Freeze for FreshViewwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
NonZero<i32>: Freeze,
Utc: Freeze,
*const ArcInner<GcodeIndex> is !null: Freeze,
PhantomData<ArcInner<GcodeIndex>>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for FreshView
impl RefUnwindSafe for FreshView
impl Send for FreshView
impl Sync for FreshView
impl Unpin for FreshView
impl UnsafeUnpin for FreshViewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
*const ArcInner<GcodeIndex> is !null: UnsafeUnpin,
PhantomData<ArcInner<GcodeIndex>>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for FreshViewwhere
RawVecInner: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
Arc<GcodeIndex>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
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