pub struct CollectionStatusResponse {
pub serial_connected: bool,
pub collection_running: bool,
pub port_path: String,
}Fields§
§serial_connected: bool§collection_running: bool§port_path: StringImplementations§
Source§impl CollectionStatusResponse
impl CollectionStatusResponse
pub fn from_state( serial_connected: &AtomicBool, collection_running: &AtomicBool, port_path: String, ) -> Self
Trait Implementations§
Source§impl Debug for CollectionStatusResponse
impl Debug for CollectionStatusResponse
Auto Trait Implementations§
impl Freeze for CollectionStatusResponse
impl RefUnwindSafe for CollectionStatusResponse
impl Send for CollectionStatusResponse
impl Sync for CollectionStatusResponse
impl Unpin for CollectionStatusResponse
impl UnsafeUnpin for CollectionStatusResponse
impl UnwindSafe for CollectionStatusResponse
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