pub struct HiveMind {
pub id: u64,
pub name: String,
pub constituents: Vec<HiveConstituent>,
pub decision_mode: CollectiveDecisionMode,
pub formed_at: String,
pub metadata: HashMap<String, String>,
pub coherence_level: f64,
pub separation_policy: String,
pub cognitive_space: Option<UnifiedCognitiveSpace>,
}Expand description
A hive-mind group: multiple agents sharing a communication context.
Fields§
§id: u64Unique identifier.
name: StringHuman-readable name.
constituents: Vec<HiveConstituent>Member agents.
decision_mode: CollectiveDecisionModeCollective decision mode.
formed_at: StringWhen formed (ISO 8601).
metadata: HashMap<String, String>Optional metadata.
coherence_level: f64Coherence score (0.0-1.0) — how aligned the hive members are.
separation_policy: StringWhat happens when the hive separates (e.g. “graceful”, “immediate”, “consensus”).
cognitive_space: Option<UnifiedCognitiveSpace>Shared cognitive space for the hive.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HiveMind
impl<'de> Deserialize<'de> for HiveMind
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 HiveMind
impl RefUnwindSafe for HiveMind
impl Send for HiveMind
impl Sync for HiveMind
impl Unpin for HiveMind
impl UnsafeUnpin for HiveMind
impl UnwindSafe for HiveMind
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