Struct aws_sdk_rdsdata::types::SqlParameter
source · #[non_exhaustive]pub struct SqlParameter { /* private fields */ }Expand description
A parameter used in a SQL statement.
Implementations§
source§impl SqlParameter
impl SqlParameter
sourcepub fn type_hint(&self) -> Option<&TypeHint>
pub fn type_hint(&self) -> Option<&TypeHint>
A hint that specifies the correct object type for data type mapping. Possible values are as follows:
-
DATE- The correspondingStringparameter value is sent as an object ofDATEtype to the database. The accepted format isYYYY-MM-DD. -
DECIMAL- The correspondingStringparameter value is sent as an object ofDECIMALtype to the database. -
JSON- The correspondingStringparameter value is sent as an object ofJSONtype to the database. -
TIME- The correspondingStringparameter value is sent as an object ofTIMEtype to the database. The accepted format isHH:MM:SS[.FFF]. -
TIMESTAMP- The correspondingStringparameter value is sent as an object ofTIMESTAMPtype to the database. The accepted format isYYYY-MM-DD HH:MM:SS[.FFF]. -
UUID- The correspondingStringparameter value is sent as an object ofUUIDtype to the database.
source§impl SqlParameter
impl SqlParameter
sourcepub fn builder() -> SqlParameterBuilder
pub fn builder() -> SqlParameterBuilder
Creates a new builder-style object to manufacture SqlParameter.
Trait Implementations§
source§impl Clone for SqlParameter
impl Clone for SqlParameter
source§fn clone(&self) -> SqlParameter
fn clone(&self) -> SqlParameter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SqlParameter
impl Debug for SqlParameter
source§impl PartialEq<SqlParameter> for SqlParameter
impl PartialEq<SqlParameter> for SqlParameter
source§fn eq(&self, other: &SqlParameter) -> bool
fn eq(&self, other: &SqlParameter) -> bool
self and other values to be equal, and is used
by ==.