lattice_sdk/api/types/
agent.rs

1pub use crate::prelude::*;
2
3/// Represents an Agent in the COP.
4#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
5pub struct Agent {
6    /// Entity ID of the agent.
7    #[serde(rename = "entityId")]
8    #[serde(skip_serializing_if = "Option::is_none")]
9    pub entity_id: Option<String>,
10}