scopinator-types 0.1.0

Shared types for the scopinator telescope control library
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

/// Focuser position and state.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct FocuserPosition {
    pub position: i32,
    pub max_position: i32,
    pub temperature: Option<f64>,
    pub is_moving: bool,
}