Enum aws_sdk_rdsdata::types::ArrayValue
source · #[non_exhaustive]pub enum ArrayValue {
ArrayValues(Vec<ArrayValue>),
BooleanValues(Vec<bool>),
DoubleValues(Vec<f64>),
LongValues(Vec<i64>),
StringValues(Vec<String>),
Unknown,
}Expand description
Contains an array.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ArrayValues(Vec<ArrayValue>)
An array of arrays.
BooleanValues(Vec<bool>)
An array of Boolean values.
DoubleValues(Vec<f64>)
An array of floating-point numbers.
LongValues(Vec<i64>)
An array of integers.
StringValues(Vec<String>)
An array of strings.
Unknown
The Unknown variant represents cases where new union variant was received. Consider upgrading the SDK to the latest available version.
An unknown enum variant
Note: If you encounter this error, consider upgrading your SDK to the latest version.
The Unknown variant represents cases where the server sent a value that wasn’t recognized
by the client. This can happen when the server adds new functionality, but the client has not been updated.
To investigate this, consider turning on debug logging to print the raw HTTP response.
Implementations§
source§impl ArrayValue
impl ArrayValue
sourcepub fn as_array_values(&self) -> Result<&Vec<ArrayValue>, &Self>
pub fn as_array_values(&self) -> Result<&Vec<ArrayValue>, &Self>
Tries to convert the enum instance into ArrayValues, extracting the inner Vec.
Returns Err(&Self) if it can’t be converted.
sourcepub fn is_array_values(&self) -> bool
pub fn is_array_values(&self) -> bool
Returns true if this is a ArrayValues.
sourcepub fn as_boolean_values(&self) -> Result<&Vec<bool>, &Self>
pub fn as_boolean_values(&self) -> Result<&Vec<bool>, &Self>
Tries to convert the enum instance into BooleanValues, extracting the inner Vec.
Returns Err(&Self) if it can’t be converted.
sourcepub fn is_boolean_values(&self) -> bool
pub fn is_boolean_values(&self) -> bool
Returns true if this is a BooleanValues.
sourcepub fn as_double_values(&self) -> Result<&Vec<f64>, &Self>
pub fn as_double_values(&self) -> Result<&Vec<f64>, &Self>
Tries to convert the enum instance into DoubleValues, extracting the inner Vec.
Returns Err(&Self) if it can’t be converted.
sourcepub fn is_double_values(&self) -> bool
pub fn is_double_values(&self) -> bool
Returns true if this is a DoubleValues.
sourcepub fn as_long_values(&self) -> Result<&Vec<i64>, &Self>
pub fn as_long_values(&self) -> Result<&Vec<i64>, &Self>
Tries to convert the enum instance into LongValues, extracting the inner Vec.
Returns Err(&Self) if it can’t be converted.
sourcepub fn is_long_values(&self) -> bool
pub fn is_long_values(&self) -> bool
Returns true if this is a LongValues.
sourcepub fn as_string_values(&self) -> Result<&Vec<String>, &Self>
pub fn as_string_values(&self) -> Result<&Vec<String>, &Self>
Tries to convert the enum instance into StringValues, extracting the inner Vec.
Returns Err(&Self) if it can’t be converted.
sourcepub fn is_string_values(&self) -> bool
pub fn is_string_values(&self) -> bool
Returns true if this is a StringValues.
sourcepub fn is_unknown(&self) -> bool
pub fn is_unknown(&self) -> bool
Returns true if the enum instance is the Unknown variant.
Trait Implementations§
source§impl Clone for ArrayValue
impl Clone for ArrayValue
source§fn clone(&self) -> ArrayValue
fn clone(&self) -> ArrayValue
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ArrayValue
impl Debug for ArrayValue
source§impl PartialEq for ArrayValue
impl PartialEq for ArrayValue
source§fn eq(&self, other: &ArrayValue) -> bool
fn eq(&self, other: &ArrayValue) -> bool
self and other values to be equal, and is used
by ==.