pub struct ProfileRow {
pub name: String,
pub harness: String,
pub kind: ProfileKind,
pub home: Option<PathBuf>,
pub default: bool,
pub routes: Option<u64>,
pub sessions: Option<u64>,
pub model: Option<String>,
pub worker: Option<String>,
}Expand description
One named config home, uniform across harnesses.
Fields§
§name: StringProfile / agent / preset name, unique within its harness.
harness: StringOwning harness id.
kind: ProfileKindWhich harness concept this row came from.
home: Option<PathBuf>The profile’s own directory, when it has one.
default: boolWhether the harness routes here when nothing more specific matches.
routes: Option<u64>Routing entries that target this profile; None when the harness’s
routing table could not be read (no config file), not zero.
sessions: Option<u64>Sessions this profile owns; None when the store could not be read.
model: Option<String>Model the profile pins, when it pins one.
worker: Option<String>The worker harness this profile runs its conversations on, when the
harness’s profile concept has one. Only the orchestrator does: its
worker: block names any registry id (docs/ORCHESTRATOR-IR.md
§2.2). Additive on the wire, like every other optional row field.
Trait Implementations§
Source§impl Clone for ProfileRow
impl Clone for ProfileRow
Source§fn clone(&self) -> ProfileRow
fn clone(&self) -> ProfileRow
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProfileRow
impl Debug for ProfileRow
Source§impl<'de> Deserialize<'de> for ProfileRow
impl<'de> Deserialize<'de> for ProfileRow
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProfileRow, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProfileRow, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for ProfileRow
Source§impl PartialEq for ProfileRow
impl PartialEq for ProfileRow
Source§impl Serialize for ProfileRow
impl Serialize for ProfileRow
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for ProfileRow
Auto Trait Implementations§
impl Freeze for ProfileRow
impl RefUnwindSafe for ProfileRow
impl Send for ProfileRow
impl Sync for ProfileRow
impl Unpin for ProfileRow
impl UnsafeUnpin for ProfileRow
impl UnwindSafe for ProfileRow
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.