pub enum Formation {
Static(StaticFormation),
Scored(ScoredFormation),
Deliberated(DeliberatedFormation),
OpenClaw(OpenClawFormation),
}Variants§
Static(StaticFormation)
Scored(ScoredFormation)
Deliberated(DeliberatedFormation)
OpenClaw(OpenClawFormation)
Implementations§
Source§impl Formation
impl Formation
pub fn kind(&self) -> FormationKind
pub fn candidate_names(&self) -> &[String]
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Formation
impl<'de> Deserialize<'de> for Formation
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 Formation
impl RefUnwindSafe for Formation
impl Send for Formation
impl Sync for Formation
impl Unpin for Formation
impl UnsafeUnpin for Formation
impl UnwindSafe for Formation
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