pub enum ModelReasoning {
Toggle(bool),
Policy(Policy),
}Expand description
What a model says about its own reasoning, in a manifest.
Variants§
Toggle(bool)
reasoning = false: this model does not reason, so no field is ever sent; true inherits the
profile’s policy.
Policy(Policy)
A policy of its own: the shape when the model has an off switch but no graded levels.
Trait Implementations§
Source§impl Clone for ModelReasoning
impl Clone for ModelReasoning
Source§impl Debug for ModelReasoning
impl Debug for ModelReasoning
Source§impl<'de> Deserialize<'de> for ModelReasoning
impl<'de> Deserialize<'de> for ModelReasoning
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 ModelReasoning
impl PartialEq for ModelReasoning
Source§impl Serialize for ModelReasoning
impl Serialize for ModelReasoning
impl StructuralPartialEq for ModelReasoning
Auto Trait Implementations§
impl Forget for ModelReasoning
impl Freeze for ModelReasoningwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
impl Move for ModelReasoning
impl RefUnwindSafe for ModelReasoning
impl Send for ModelReasoning
impl Sync for ModelReasoning
impl Unpin for ModelReasoning
impl UnsafeUnpin for ModelReasoningwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
impl UnwindSafe for ModelReasoningwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
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