ascom-alpaca-core 0.1.1

Framework-agnostic ASCOM Alpaca protocol types and traits for Rust — all 10 device types, no HTTP framework required
Documentation
1
2
3
4
5
6
7
8
9
use serde::{Deserialize, Serialize};

/// A single name-value pair in the DeviceState array (Platform 7+).
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct DeviceStateItem {
    pub name: String,
    pub value: serde_json::Value,
}