pub struct ThinkingStatement {
pub levels: Vec<Effort>,
pub default: Option<Effort>,
pub on: Option<bool>,
pub default_on: Option<bool>,
}Expand description
What one model list said about a model’s thinking, in the city’s
spelling of each level. Carried into the snapshots inside
ModelFacts, and serialised by hand for the same reason.
Fields§
§levels: Vec<Effort>The levels the row named, ascending and without repeats; never
none, because turning thinking off is not a level. Empty when
the row stated only a switch.
default: Option<Effort>The level the row says it uses when sent none.
on: Option<bool>Whether the row says the model may be asked to think.
default_on: Option<bool>Whether the row says the model thinks when sent nothing.
Trait Implementations§
Source§impl Clone for ThinkingStatement
impl Clone for ThinkingStatement
Source§impl Debug for ThinkingStatement
impl Debug for ThinkingStatement
Source§impl Default for ThinkingStatement
impl Default for ThinkingStatement
Source§impl<'de> Deserialize<'de> for ThinkingStatement
impl<'de> Deserialize<'de> for ThinkingStatement
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
impl Eq for ThinkingStatement
Source§impl PartialEq for ThinkingStatement
impl PartialEq for ThinkingStatement
Source§impl Serialize for ThinkingStatement
impl Serialize for ThinkingStatement
impl StructuralPartialEq for ThinkingStatement
Auto Trait Implementations§
impl Freeze for ThinkingStatement
impl RefUnwindSafe for ThinkingStatement
impl Send for ThinkingStatement
impl Sync for ThinkingStatement
impl Unpin for ThinkingStatement
impl UnsafeUnpin for ThinkingStatement
impl UnwindSafe for ThinkingStatement
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