pub struct AiDraftRequest {Show 14 fields
pub schema_version: u32,
pub draft_type: AiDraftType,
pub provider: Option<AiProvider>,
pub model: Option<String>,
pub command: String,
pub config_path: String,
pub project_root: String,
pub mode: String,
pub dry_run: bool,
pub output_path: String,
pub manifest_summary: AiDraftManifestSummary,
pub report_summary: AiDraftArtifactSummary,
pub changelog_summary: Option<AiDraftArtifactSummary>,
pub optional_artifacts: Vec<AiDraftArtifactSummary>,
}Fields§
§schema_version: u32§draft_type: AiDraftType§provider: Option<AiProvider>§model: Option<String>§command: String§config_path: String§project_root: String§mode: String§dry_run: bool§output_path: String§manifest_summary: AiDraftManifestSummary§report_summary: AiDraftArtifactSummary§changelog_summary: Option<AiDraftArtifactSummary>§optional_artifacts: Vec<AiDraftArtifactSummary>Trait Implementations§
Source§impl Clone for AiDraftRequest
impl Clone for AiDraftRequest
Source§fn clone(&self) -> AiDraftRequest
fn clone(&self) -> AiDraftRequest
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 Debug for AiDraftRequest
impl Debug for AiDraftRequest
Source§impl PartialEq for AiDraftRequest
impl PartialEq for AiDraftRequest
Source§fn eq(&self, other: &AiDraftRequest) -> bool
fn eq(&self, other: &AiDraftRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AiDraftRequest
impl Serialize for AiDraftRequest
impl Eq for AiDraftRequest
impl StructuralPartialEq for AiDraftRequest
Auto Trait Implementations§
impl Freeze for AiDraftRequest
impl RefUnwindSafe for AiDraftRequest
impl Send for AiDraftRequest
impl Sync for AiDraftRequest
impl Unpin for AiDraftRequest
impl UnsafeUnpin for AiDraftRequest
impl UnwindSafe for AiDraftRequest
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