pub struct FighterManifest {
pub name: String,
pub description: String,
pub model: ModelConfig,
pub system_prompt: String,
pub capabilities: Vec<Capability>,
pub weight_class: WeightClass,
pub tenant_id: Option<TenantId>,
}Expand description
The manifest describing a Fighter’s configuration and identity.
Fields§
§name: StringHuman-readable name for this Fighter.
description: StringDescription of the Fighter’s purpose and specialty.
model: ModelConfigModel configuration for this Fighter.
system_prompt: StringSystem prompt that shapes the Fighter’s behavior.
capabilities: Vec<Capability>Capabilities granted to this Fighter.
weight_class: WeightClassThe model tier / weight class.
tenant_id: Option<TenantId>The tenant that owns this fighter. None for single-tenant / backward compat.
Trait Implementations§
Source§impl Clone for FighterManifest
impl Clone for FighterManifest
Source§fn clone(&self) -> FighterManifest
fn clone(&self) -> FighterManifest
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 FighterManifest
impl Debug for FighterManifest
Source§impl<'de> Deserialize<'de> for FighterManifest
impl<'de> Deserialize<'de> for FighterManifest
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 FighterManifest
impl RefUnwindSafe for FighterManifest
impl Send for FighterManifest
impl Sync for FighterManifest
impl Unpin for FighterManifest
impl UnsafeUnpin for FighterManifest
impl UnwindSafe for FighterManifest
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