#[non_exhaustive]pub struct IntegerValueWhenUnsetConfiguration { /* private fields */ }
Expand description
A parameter declaration for the Integer
data type.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Implementations§
source§impl IntegerValueWhenUnsetConfiguration
impl IntegerValueWhenUnsetConfiguration
sourcepub fn value_when_unset_option(&self) -> Option<&ValueWhenUnsetOption>
pub fn value_when_unset_option(&self) -> Option<&ValueWhenUnsetOption>
The built-in options for default values. The value can be one of the following:
-
RECOMMENDED
: The recommended value. -
NULL
: TheNULL
value.
sourcepub fn custom_value(&self) -> Option<i64>
pub fn custom_value(&self) -> Option<i64>
A custom value that's used when the value of a parameter isn't set.
source§impl IntegerValueWhenUnsetConfiguration
impl IntegerValueWhenUnsetConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture IntegerValueWhenUnsetConfiguration
.
Trait Implementations§
source§impl Clone for IntegerValueWhenUnsetConfiguration
impl Clone for IntegerValueWhenUnsetConfiguration
source§fn clone(&self) -> IntegerValueWhenUnsetConfiguration
fn clone(&self) -> IntegerValueWhenUnsetConfiguration
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 PartialEq<IntegerValueWhenUnsetConfiguration> for IntegerValueWhenUnsetConfiguration
impl PartialEq<IntegerValueWhenUnsetConfiguration> for IntegerValueWhenUnsetConfiguration
source§fn eq(&self, other: &IntegerValueWhenUnsetConfiguration) -> bool
fn eq(&self, other: &IntegerValueWhenUnsetConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.