Struct aws_sdk_rdsdata::model::SqlParameter [−][src]
#[non_exhaustive]pub struct SqlParameter {
pub name: Option<String>,
pub value: Option<Field>,
pub type_hint: Option<TypeHint>,
}Expand description
A parameter used in a SQL statement.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>The name of the parameter.
value: Option<Field>The value of the parameter.
type_hint: 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.
Implementations
Creates a new builder-style object to manufacture SqlParameter
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SqlParameter
impl Send for SqlParameter
impl Sync for SqlParameter
impl Unpin for SqlParameter
impl UnwindSafe for SqlParameter
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more