pub enum AgentName {
Melchior,
Balthasar,
Caspar,
}Expand description
Identifies one of the three MAGI agents.
Ordering is alphabetical (Balthasar < Caspar < Melchior) for
deterministic tiebreaking in consensus.
Serializes as lowercase ("melchior", "balthasar", "caspar").
Variants§
Melchior
The Scientist — innovative, research-oriented perspective.
Balthasar
The Pragmatist — practical, engineering-oriented perspective.
Caspar
The Critic — skeptical, risk-oriented perspective.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AgentName
impl<'de> Deserialize<'de> for AgentName
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
Source§impl Ord for AgentName
impl Ord for AgentName
Source§impl PartialOrd for AgentName
impl PartialOrd for AgentName
impl Copy for AgentName
impl Eq for AgentName
impl StructuralPartialEq for AgentName
Auto Trait Implementations§
impl Freeze for AgentName
impl RefUnwindSafe for AgentName
impl Send for AgentName
impl Sync for AgentName
impl Unpin for AgentName
impl UnsafeUnpin for AgentName
impl UnwindSafe for AgentName
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