pub struct IntentConfig {
pub name: Option<String>,
pub goals: Vec<String>,
pub resolution_rules: Vec<ResolutionRuleConfig>,
pub autonomy_level: Option<String>,
pub delegation_boundaries: Option<DelegationBoundaryConfig>,
pub alignment_signals: Vec<AlignmentSignalConfig>,
pub drift_threshold: Option<f64>,
}Fields§
§name: Option<String>§goals: Vec<String>§resolution_rules: Vec<ResolutionRuleConfig>§autonomy_level: Option<String>§delegation_boundaries: Option<DelegationBoundaryConfig>§alignment_signals: Vec<AlignmentSignalConfig>§drift_threshold: Option<f64>Trait Implementations§
Source§impl Clone for IntentConfig
impl Clone for IntentConfig
Source§fn clone(&self) -> IntentConfig
fn clone(&self) -> IntentConfig
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 IntentConfig
impl Debug for IntentConfig
Source§impl<'de> Deserialize<'de> for IntentConfig
impl<'de> Deserialize<'de> for IntentConfig
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 PartialEq for IntentConfig
impl PartialEq for IntentConfig
Source§impl Serialize for IntentConfig
impl Serialize for IntentConfig
impl StructuralPartialEq for IntentConfig
Auto Trait Implementations§
impl Freeze for IntentConfig
impl RefUnwindSafe for IntentConfig
impl Send for IntentConfig
impl Sync for IntentConfig
impl Unpin for IntentConfig
impl UnwindSafe for IntentConfig
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