pub struct TeamConfig {
pub name: String,
pub description: Option<String>,
pub created_at: u64,
pub lead_agent_id: String,
pub lead_session_id: String,
pub members: Vec<TeamMember>,
}Expand description
On-disk team configuration.
Fields§
§name: StringHuman-readable team name.
description: Option<String>Optional description.
created_at: u64When the team was created (unix timestamp seconds).
lead_agent_id: StringThe lead agent’s ID (deterministic: team-lead@{name}).
lead_session_id: StringThe lead agent’s session ID.
members: Vec<TeamMember>Known team members.
Trait Implementations§
Source§impl Clone for TeamConfig
impl Clone for TeamConfig
Source§fn clone(&self) -> TeamConfig
fn clone(&self) -> TeamConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TeamConfig
impl Debug for TeamConfig
Source§impl<'de> Deserialize<'de> for TeamConfig
impl<'de> Deserialize<'de> for TeamConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TeamConfig
impl RefUnwindSafe for TeamConfig
impl Send for TeamConfig
impl Sync for TeamConfig
impl Unpin for TeamConfig
impl UnsafeUnpin for TeamConfig
impl UnwindSafe for TeamConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more