lattice-sdk 0.1.0

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

/// Represents a team of agents
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
pub struct Team {
    /// Entity ID of the team
    #[serde(rename = "entityId")]
    #[serde(skip_serializing_if = "Option::is_none")]
    pub entity_id: Option<String>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub members: Option<Vec<Agent>>,
}