pub struct AiConsentOptions {
pub provider: AiProvider,
pub model: String,
pub command: String,
pub config_path: PathBuf,
pub dry_run: bool,
pub include_images: bool,
pub output_path: Option<PathBuf>,
}Fields§
§provider: AiProvider§model: String§command: String§config_path: PathBuf§dry_run: bool§include_images: bool§output_path: Option<PathBuf>Trait Implementations§
Source§impl Clone for AiConsentOptions
impl Clone for AiConsentOptions
Source§impl Debug for AiConsentOptions
impl Debug for AiConsentOptions
impl Eq for AiConsentOptions
Source§impl PartialEq for AiConsentOptions
impl PartialEq for AiConsentOptions
impl StructuralPartialEq for AiConsentOptions
Auto Trait Implementations§
impl Freeze for AiConsentOptions
impl RefUnwindSafe for AiConsentOptions
impl Send for AiConsentOptions
impl Sync for AiConsentOptions
impl Unpin for AiConsentOptions
impl UnsafeUnpin for AiConsentOptions
impl UnwindSafe for AiConsentOptions
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