#[non_exhaustive]pub struct CodegenFeatureFlagsBuilder { /* private fields */ }Expand description
A builder for CodegenFeatureFlags.
Implementations§
source§impl CodegenFeatureFlagsBuilder
impl CodegenFeatureFlagsBuilder
sourcepub fn is_relationship_supported(self, input: bool) -> Self
pub fn is_relationship_supported(self, input: bool) -> Self
Specifes whether a code generation job supports data relationships.
sourcepub fn set_is_relationship_supported(self, input: Option<bool>) -> Self
pub fn set_is_relationship_supported(self, input: Option<bool>) -> Self
Specifes whether a code generation job supports data relationships.
sourcepub fn get_is_relationship_supported(&self) -> &Option<bool>
pub fn get_is_relationship_supported(&self) -> &Option<bool>
Specifes whether a code generation job supports data relationships.
sourcepub fn is_non_model_supported(self, input: bool) -> Self
pub fn is_non_model_supported(self, input: bool) -> Self
Specifies whether a code generation job supports non models.
sourcepub fn set_is_non_model_supported(self, input: Option<bool>) -> Self
pub fn set_is_non_model_supported(self, input: Option<bool>) -> Self
Specifies whether a code generation job supports non models.
sourcepub fn get_is_non_model_supported(&self) -> &Option<bool>
pub fn get_is_non_model_supported(&self) -> &Option<bool>
Specifies whether a code generation job supports non models.
sourcepub fn build(self) -> CodegenFeatureFlags
pub fn build(self) -> CodegenFeatureFlags
Consumes the builder and constructs a CodegenFeatureFlags.
Trait Implementations§
source§impl Clone for CodegenFeatureFlagsBuilder
impl Clone for CodegenFeatureFlagsBuilder
source§fn clone(&self) -> CodegenFeatureFlagsBuilder
fn clone(&self) -> CodegenFeatureFlagsBuilder
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 CodegenFeatureFlagsBuilder
impl Debug for CodegenFeatureFlagsBuilder
source§impl Default for CodegenFeatureFlagsBuilder
impl Default for CodegenFeatureFlagsBuilder
source§fn default() -> CodegenFeatureFlagsBuilder
fn default() -> CodegenFeatureFlagsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CodegenFeatureFlagsBuilder
impl PartialEq for CodegenFeatureFlagsBuilder
source§fn eq(&self, other: &CodegenFeatureFlagsBuilder) -> bool
fn eq(&self, other: &CodegenFeatureFlagsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CodegenFeatureFlagsBuilder
Auto Trait Implementations§
impl Freeze for CodegenFeatureFlagsBuilder
impl RefUnwindSafe for CodegenFeatureFlagsBuilder
impl Send for CodegenFeatureFlagsBuilder
impl Sync for CodegenFeatureFlagsBuilder
impl Unpin for CodegenFeatureFlagsBuilder
impl UnwindSafe for CodegenFeatureFlagsBuilder
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.