pub struct SummarizeArgs {
pub namespace: String,
pub api_key: Option<String>,
pub open_only: bool,
pub format: String,
}Fields§
§namespace: StringNamespace to summarize (comments, review, todos, or all)
api_key: Option<String>Gemini API key (or set GEMINI_API_KEY env var)
open_only: boolOnly include open notes (default: true)
format: StringOutput format: text or markdown
Trait Implementations§
Source§impl Args for SummarizeArgs
impl Args for SummarizeArgs
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 Debug for SummarizeArgs
impl Debug for SummarizeArgs
Source§impl FromArgMatches for SummarizeArgs
impl FromArgMatches for SummarizeArgs
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.Auto Trait Implementations§
impl Freeze for SummarizeArgs
impl RefUnwindSafe for SummarizeArgs
impl Send for SummarizeArgs
impl Sync for SummarizeArgs
impl Unpin for SummarizeArgs
impl UnsafeUnpin for SummarizeArgs
impl UnwindSafe for SummarizeArgs
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