#[non_exhaustive]pub struct StartCodegenJobData {
pub render_config: Option<CodegenJobRenderConfig>,
pub generic_data_schema: Option<CodegenJobGenericDataSchema>,
pub auto_generate_forms: Option<bool>,
pub features: Option<CodegenFeatureFlags>,
pub tags: Option<HashMap<String, String>>,
}Expand description
The code generation job resource configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.render_config: Option<CodegenJobRenderConfig>The code generation configuration for the codegen job.
generic_data_schema: Option<CodegenJobGenericDataSchema>The data schema to use for a code generation job.
auto_generate_forms: Option<bool>Specifies whether to autogenerate forms in the code generation job.
features: Option<CodegenFeatureFlags>The feature flags for a code generation job.
One or more key-value pairs to use when tagging the code generation job data.
Implementations§
source§impl StartCodegenJobData
impl StartCodegenJobData
sourcepub fn render_config(&self) -> Option<&CodegenJobRenderConfig>
pub fn render_config(&self) -> Option<&CodegenJobRenderConfig>
The code generation configuration for the codegen job.
sourcepub fn generic_data_schema(&self) -> Option<&CodegenJobGenericDataSchema>
pub fn generic_data_schema(&self) -> Option<&CodegenJobGenericDataSchema>
The data schema to use for a code generation job.
sourcepub fn auto_generate_forms(&self) -> Option<bool>
pub fn auto_generate_forms(&self) -> Option<bool>
Specifies whether to autogenerate forms in the code generation job.
sourcepub fn features(&self) -> Option<&CodegenFeatureFlags>
pub fn features(&self) -> Option<&CodegenFeatureFlags>
The feature flags for a code generation job.
One or more key-value pairs to use when tagging the code generation job data.
source§impl StartCodegenJobData
impl StartCodegenJobData
sourcepub fn builder() -> StartCodegenJobDataBuilder
pub fn builder() -> StartCodegenJobDataBuilder
Creates a new builder-style object to manufacture StartCodegenJobData.
Trait Implementations§
source§impl Clone for StartCodegenJobData
impl Clone for StartCodegenJobData
source§fn clone(&self) -> StartCodegenJobData
fn clone(&self) -> StartCodegenJobData
Returns a copy of the value. Read more
1.0.0 · 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 StartCodegenJobData
impl Debug for StartCodegenJobData
source§impl PartialEq for StartCodegenJobData
impl PartialEq for StartCodegenJobData
source§fn eq(&self, other: &StartCodegenJobData) -> bool
fn eq(&self, other: &StartCodegenJobData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartCodegenJobData
Auto Trait Implementations§
impl Freeze for StartCodegenJobData
impl RefUnwindSafe for StartCodegenJobData
impl Send for StartCodegenJobData
impl Sync for StartCodegenJobData
impl Unpin for StartCodegenJobData
impl UnwindSafe for StartCodegenJobData
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreCreates a shared type from an unshared type.