fixed comments
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
|
||||
|
||||
//! # Models Module
|
||||
//!
|
||||
//! This module defines all data structures (DTOs) used for communication between WatcherAgent and the backend server, as well as hardware metrics and Docker container info.
|
||||
//!
|
||||
//! ## Responsibilities
|
||||
//! - **DTOs:** Define payloads for registration, metrics, heartbeat, and server commands.
|
||||
//! - **Units:** All struct fields are documented with their units for clarity and API compatibility.
|
||||
//! - **Docker Info:** Structures for representing Docker container state and statistics.
|
||||
//!
|
||||
//! ## Usage
|
||||
//! These types are serialized/deserialized for HTTP communication and used throughout the agent for data exchange.
|
||||
/// # Models Module
|
||||
///
|
||||
/// This module defines all data structures (DTOs) used for communication between WatcherAgent and the backend server, as well as hardware metrics and Docker container info.
|
||||
///
|
||||
/// ## Responsibilities
|
||||
/// - **DTOs:** Define payloads for registration, metrics, heartbeat, and server commands.
|
||||
/// - **Units:** All struct fields are documented with their units for clarity and API compatibility.
|
||||
/// - **Docker Info:** Structures for representing Docker container state and statistics.
|
||||
///
|
||||
/// ## Usage
|
||||
/// These types are serialized/deserialized for HTTP communication and used throughout the agent for data exchange.
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
/// Registration data sent to the backend server.
|
||||
|
Reference in New Issue
Block a user