lattice-sdk 0.1.0

Rust SDK for Lattice API
Documentation
1
2
3
4
5
6
7
8
9
10
pub use crate::prelude::*;

/// Represents an Agent in the COP.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
pub struct Agent {
    /// Entity ID of the agent.
    #[serde(rename = "entityId")]
    #[serde(skip_serializing_if = "Option::is_none")]
    pub entity_id: Option<String>,
}