pub struct AiDraftOptions {
pub draft_type: AiDraftType,
pub provider: Option<AiProvider>,
pub model: Option<String>,
pub command: String,
pub config_path: PathBuf,
pub project_root: PathBuf,
pub output_path: PathBuf,
pub dry_run: bool,
pub compare_json_path: Option<PathBuf>,
pub ai_review_json_path: Option<PathBuf>,
pub review_html_path: Option<PathBuf>,
pub changelog_path: Option<PathBuf>,
}Fields§
§draft_type: AiDraftType§provider: Option<AiProvider>§model: Option<String>§command: String§config_path: PathBuf§project_root: PathBuf§output_path: PathBuf§dry_run: bool§compare_json_path: Option<PathBuf>§ai_review_json_path: Option<PathBuf>§review_html_path: Option<PathBuf>§changelog_path: Option<PathBuf>Trait Implementations§
Source§impl Clone for AiDraftOptions
impl Clone for AiDraftOptions
Source§impl Debug for AiDraftOptions
impl Debug for AiDraftOptions
impl Eq for AiDraftOptions
Source§impl PartialEq for AiDraftOptions
impl PartialEq for AiDraftOptions
impl StructuralPartialEq for AiDraftOptions
Auto Trait Implementations§
impl Freeze for AiDraftOptions
impl RefUnwindSafe for AiDraftOptions
impl Send for AiDraftOptions
impl Sync for AiDraftOptions
impl Unpin for AiDraftOptions
impl UnsafeUnpin for AiDraftOptions
impl UnwindSafe for AiDraftOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more