pub struct ConfiguredArgs {Show 15 fields
pub image: PathBuf,
pub questions: QuestionSource,
pub name: String,
pub json: bool,
pub config: Option<PathBuf>,
pub mode: Option<ConfiguredMode>,
pub vision_url: Option<String>,
pub vision_model: Option<String>,
pub vision_api_key: Option<String>,
pub vision_prompt: Option<String>,
pub acp_binary: Option<String>,
pub acp_args: Vec<String>,
pub model: Option<String>,
pub effort: Option<String>,
pub system_prompt: Option<String>,
}Expand description
Arguments for the configured subcommand.
Fields§
§image: PathBufPNG screenshot path.
questions: QuestionSourceRubric question (required if –preset is not set).
name: StringAsset name for assertion messages.
json: boolOutput verdict as JSON.
config: Option<PathBuf>TOML config path (default: ~/.config/visual-rubric/config.toml).
mode: Option<ConfiguredMode>Backend mode: direct codex-acp image evaluation or two-stage pipeline.
vision_url: Option<String>Vision API base URL.
vision_model: Option<String>Vision model name.
vision_api_key: Option<String>Vision API key (Bearer token).
vision_prompt: Option<String>Custom prompt for the vision extraction stage.
acp_binary: Option<String>ACP binary path (opencode or codex-acp).
acp_args: Vec<String>Extra CLI arguments for the ACP binary. May be repeated.
model: Option<String>Rubric model name (passed to codex-acp; ignored for opencode).
effort: Option<String>Rubric reasoning effort.
system_prompt: Option<String>Rubric system prompt override.
Trait Implementations§
Source§impl Args for ConfiguredArgs
impl Args for ConfiguredArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for ConfiguredArgs
impl Clone for ConfiguredArgs
Source§fn clone(&self) -> ConfiguredArgs
fn clone(&self) -> ConfiguredArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandFactory for ConfiguredArgs
impl CommandFactory for ConfiguredArgs
Source§impl Debug for ConfiguredArgs
impl Debug for ConfiguredArgs
Source§impl FromArgMatches for ConfiguredArgs
impl FromArgMatches for ConfiguredArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Parser for ConfiguredArgs
impl Parser for ConfiguredArgs
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for ConfiguredArgs
impl RefUnwindSafe for ConfiguredArgs
impl Send for ConfiguredArgs
impl Sync for ConfiguredArgs
impl Unpin for ConfiguredArgs
impl UnsafeUnpin for ConfiguredArgs
impl UnwindSafe for ConfiguredArgs
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