#[non_exhaustive]pub struct ParameterDeclarationBuilder { /* private fields */ }Expand description
A builder for ParameterDeclaration.
Implementations§
source§impl ParameterDeclarationBuilder
impl ParameterDeclarationBuilder
sourcepub fn string_parameter_declaration(
self,
input: StringParameterDeclaration
) -> Self
pub fn string_parameter_declaration( self, input: StringParameterDeclaration ) -> Self
A parameter declaration for the String data type.
sourcepub fn set_string_parameter_declaration(
self,
input: Option<StringParameterDeclaration>
) -> Self
pub fn set_string_parameter_declaration( self, input: Option<StringParameterDeclaration> ) -> Self
A parameter declaration for the String data type.
sourcepub fn get_string_parameter_declaration(
&self
) -> &Option<StringParameterDeclaration>
pub fn get_string_parameter_declaration( &self ) -> &Option<StringParameterDeclaration>
A parameter declaration for the String data type.
sourcepub fn decimal_parameter_declaration(
self,
input: DecimalParameterDeclaration
) -> Self
pub fn decimal_parameter_declaration( self, input: DecimalParameterDeclaration ) -> Self
A parameter declaration for the Decimal data type.
sourcepub fn set_decimal_parameter_declaration(
self,
input: Option<DecimalParameterDeclaration>
) -> Self
pub fn set_decimal_parameter_declaration( self, input: Option<DecimalParameterDeclaration> ) -> Self
A parameter declaration for the Decimal data type.
sourcepub fn get_decimal_parameter_declaration(
&self
) -> &Option<DecimalParameterDeclaration>
pub fn get_decimal_parameter_declaration( &self ) -> &Option<DecimalParameterDeclaration>
A parameter declaration for the Decimal data type.
sourcepub fn integer_parameter_declaration(
self,
input: IntegerParameterDeclaration
) -> Self
pub fn integer_parameter_declaration( self, input: IntegerParameterDeclaration ) -> Self
A parameter declaration for the Integer data type.
sourcepub fn set_integer_parameter_declaration(
self,
input: Option<IntegerParameterDeclaration>
) -> Self
pub fn set_integer_parameter_declaration( self, input: Option<IntegerParameterDeclaration> ) -> Self
A parameter declaration for the Integer data type.
sourcepub fn get_integer_parameter_declaration(
&self
) -> &Option<IntegerParameterDeclaration>
pub fn get_integer_parameter_declaration( &self ) -> &Option<IntegerParameterDeclaration>
A parameter declaration for the Integer data type.
sourcepub fn date_time_parameter_declaration(
self,
input: DateTimeParameterDeclaration
) -> Self
pub fn date_time_parameter_declaration( self, input: DateTimeParameterDeclaration ) -> Self
A parameter declaration for the DateTime data type.
sourcepub fn set_date_time_parameter_declaration(
self,
input: Option<DateTimeParameterDeclaration>
) -> Self
pub fn set_date_time_parameter_declaration( self, input: Option<DateTimeParameterDeclaration> ) -> Self
A parameter declaration for the DateTime data type.
sourcepub fn get_date_time_parameter_declaration(
&self
) -> &Option<DateTimeParameterDeclaration>
pub fn get_date_time_parameter_declaration( &self ) -> &Option<DateTimeParameterDeclaration>
A parameter declaration for the DateTime data type.
sourcepub fn build(self) -> ParameterDeclaration
pub fn build(self) -> ParameterDeclaration
Consumes the builder and constructs a ParameterDeclaration.
Trait Implementations§
source§impl Clone for ParameterDeclarationBuilder
impl Clone for ParameterDeclarationBuilder
source§fn clone(&self) -> ParameterDeclarationBuilder
fn clone(&self) -> ParameterDeclarationBuilder
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 ParameterDeclarationBuilder
impl Debug for ParameterDeclarationBuilder
source§impl Default for ParameterDeclarationBuilder
impl Default for ParameterDeclarationBuilder
source§fn default() -> ParameterDeclarationBuilder
fn default() -> ParameterDeclarationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ParameterDeclarationBuilder
impl PartialEq for ParameterDeclarationBuilder
source§fn eq(&self, other: &ParameterDeclarationBuilder) -> bool
fn eq(&self, other: &ParameterDeclarationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ParameterDeclarationBuilder
Auto Trait Implementations§
impl Freeze for ParameterDeclarationBuilder
impl RefUnwindSafe for ParameterDeclarationBuilder
impl Send for ParameterDeclarationBuilder
impl Sync for ParameterDeclarationBuilder
impl Unpin for ParameterDeclarationBuilder
impl UnwindSafe for ParameterDeclarationBuilder
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.