#[non_exhaustive]pub struct StartCodegenJobDataBuilder { /* private fields */ }Expand description
A builder for StartCodegenJobData.
Implementations§
source§impl StartCodegenJobDataBuilder
impl StartCodegenJobDataBuilder
sourcepub fn render_config(self, input: CodegenJobRenderConfig) -> Self
pub fn render_config(self, input: CodegenJobRenderConfig) -> Self
The code generation configuration for the codegen job.
This field is required.sourcepub fn set_render_config(self, input: Option<CodegenJobRenderConfig>) -> Self
pub fn set_render_config(self, input: Option<CodegenJobRenderConfig>) -> Self
The code generation configuration for the codegen job.
sourcepub fn get_render_config(&self) -> &Option<CodegenJobRenderConfig>
pub fn get_render_config(&self) -> &Option<CodegenJobRenderConfig>
The code generation configuration for the codegen job.
sourcepub fn generic_data_schema(self, input: CodegenJobGenericDataSchema) -> Self
pub fn generic_data_schema(self, input: CodegenJobGenericDataSchema) -> Self
The data schema to use for a code generation job.
sourcepub fn set_generic_data_schema(
self,
input: Option<CodegenJobGenericDataSchema>
) -> Self
pub fn set_generic_data_schema( self, input: Option<CodegenJobGenericDataSchema> ) -> Self
The data schema to use for a code generation job.
sourcepub fn get_generic_data_schema(&self) -> &Option<CodegenJobGenericDataSchema>
pub fn get_generic_data_schema(&self) -> &Option<CodegenJobGenericDataSchema>
The data schema to use for a code generation job.
sourcepub fn auto_generate_forms(self, input: bool) -> Self
pub fn auto_generate_forms(self, input: bool) -> Self
Specifies whether to autogenerate forms in the code generation job.
sourcepub fn set_auto_generate_forms(self, input: Option<bool>) -> Self
pub fn set_auto_generate_forms(self, input: Option<bool>) -> Self
Specifies whether to autogenerate forms in the code generation job.
sourcepub fn get_auto_generate_forms(&self) -> &Option<bool>
pub fn get_auto_generate_forms(&self) -> &Option<bool>
Specifies whether to autogenerate forms in the code generation job.
sourcepub fn features(self, input: CodegenFeatureFlags) -> Self
pub fn features(self, input: CodegenFeatureFlags) -> Self
The feature flags for a code generation job.
sourcepub fn set_features(self, input: Option<CodegenFeatureFlags>) -> Self
pub fn set_features(self, input: Option<CodegenFeatureFlags>) -> Self
The feature flags for a code generation job.
sourcepub fn get_features(&self) -> &Option<CodegenFeatureFlags>
pub fn get_features(&self) -> &Option<CodegenFeatureFlags>
The feature flags for a code generation job.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
One or more key-value pairs to use when tagging the code generation job data.
One or more key-value pairs to use when tagging the code generation job data.
One or more key-value pairs to use when tagging the code generation job data.
sourcepub fn build(self) -> StartCodegenJobData
pub fn build(self) -> StartCodegenJobData
Consumes the builder and constructs a StartCodegenJobData.
Trait Implementations§
source§impl Clone for StartCodegenJobDataBuilder
impl Clone for StartCodegenJobDataBuilder
source§fn clone(&self) -> StartCodegenJobDataBuilder
fn clone(&self) -> StartCodegenJobDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartCodegenJobDataBuilder
impl Debug for StartCodegenJobDataBuilder
source§impl Default for StartCodegenJobDataBuilder
impl Default for StartCodegenJobDataBuilder
source§fn default() -> StartCodegenJobDataBuilder
fn default() -> StartCodegenJobDataBuilder
source§impl PartialEq for StartCodegenJobDataBuilder
impl PartialEq for StartCodegenJobDataBuilder
source§fn eq(&self, other: &StartCodegenJobDataBuilder) -> bool
fn eq(&self, other: &StartCodegenJobDataBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartCodegenJobDataBuilder
Auto Trait Implementations§
impl Freeze for StartCodegenJobDataBuilder
impl RefUnwindSafe for StartCodegenJobDataBuilder
impl Send for StartCodegenJobDataBuilder
impl Sync for StartCodegenJobDataBuilder
impl Unpin for StartCodegenJobDataBuilder
impl UnwindSafe for StartCodegenJobDataBuilder
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
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>
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>
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