pub struct TomlConfig {
pub mode: Option<ConfigMode>,
pub vision: TomlVision,
pub rubric: TomlRubric,
pub sequence: TomlSequence,
}Expand description
Full shape of ~/.config/visual-rubric/config.toml.
Fields§
§mode: Option<ConfigMode>Top-level mode: "direct" or "pipeline".
vision: TomlVision[vision] section (used by pipeline mode only).
rubric: TomlRubric[rubric] section — binary, args, model, effort, system prompt.
sequence: TomlSequence[sequence] ordered-checkpoint policy.
Trait Implementations§
Source§impl Debug for TomlConfig
impl Debug for TomlConfig
Source§impl Default for TomlConfig
impl Default for TomlConfig
Source§impl<'de> Deserialize<'de> for TomlConfigwhere
TomlConfig: Default,
impl<'de> Deserialize<'de> for TomlConfigwhere
TomlConfig: Default,
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 Forget for TomlConfig
impl Freeze for TomlConfig
impl Move for TomlConfig
impl RefUnwindSafe for TomlConfig
impl Send for TomlConfig
impl Sync for TomlConfig
impl Unpin for TomlConfig
impl UnsafeUnpin for TomlConfig
impl UnwindSafe for TomlConfig
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