pub struct SelfModel {
pub model_name: String,
pub provider: String,
pub capabilities: Vec<String>,
pub constraints: Vec<String>,
pub weight_class: String,
pub architecture_notes: Vec<String>,
}Expand description
What a fighter knows about its own architecture and constraints.
Fields§
§model_name: StringThe model powering this fighter (e.g., “qwen3.5:9b”).
provider: StringThe provider (e.g., “ollama”, “anthropic”).
capabilities: Vec<String>Known capabilities (tools/moves available).
constraints: Vec<String>Known constraints/limitations.
weight_class: StringWeight class awareness.
architecture_notes: Vec<String>Architecture notes — what the fighter knows about its own runtime.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SelfModel
impl<'de> Deserialize<'de> for SelfModel
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 SelfModel
impl RefUnwindSafe for SelfModel
impl Send for SelfModel
impl Sync for SelfModel
impl Unpin for SelfModel
impl UnsafeUnpin for SelfModel
impl UnwindSafe for SelfModel
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