Struct aws_sdk_redshiftdata::model::StatementData
source · [−]#[non_exhaustive]pub struct StatementData {
pub id: Option<String>,
pub query_string: Option<String>,
pub query_strings: Option<Vec<String>>,
pub secret_arn: Option<String>,
pub status: Option<StatusString>,
pub statement_name: Option<String>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
pub query_parameters: Option<Vec<SqlParameter>>,
pub is_batch_statement: Option<bool>,
}Expand description
The SQL statement to run.
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.id: Option<String>The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
query_string: Option<String>The SQL statement.
query_strings: Option<Vec<String>>One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.
secret_arn: Option<String>The name or Amazon Resource Name (ARN) of the secret that enables access to the database.
status: Option<StatusString>The status of the SQL statement. An example is the that the SQL statement finished.
statement_name: Option<String>The name of the SQL statement.
created_at: Option<DateTime>The date and time (UTC) the statement was created.
updated_at: Option<DateTime>The date and time (UTC) that the statement metadata was last updated.
query_parameters: Option<Vec<SqlParameter>>The parameters used in a SQL statement.
is_batch_statement: Option<bool>A value that indicates whether the statement is a batch query request.
Implementations
sourceimpl StatementData
impl StatementData
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
sourcepub fn query_string(&self) -> Option<&str>
pub fn query_string(&self) -> Option<&str>
The SQL statement.
sourcepub fn query_strings(&self) -> Option<&[String]>
pub fn query_strings(&self) -> Option<&[String]>
One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.
sourcepub fn secret_arn(&self) -> Option<&str>
pub fn secret_arn(&self) -> Option<&str>
The name or Amazon Resource Name (ARN) of the secret that enables access to the database.
sourcepub fn status(&self) -> Option<&StatusString>
pub fn status(&self) -> Option<&StatusString>
The status of the SQL statement. An example is the that the SQL statement finished.
sourcepub fn statement_name(&self) -> Option<&str>
pub fn statement_name(&self) -> Option<&str>
The name of the SQL statement.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time (UTC) the statement was created.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The date and time (UTC) that the statement metadata was last updated.
sourcepub fn query_parameters(&self) -> Option<&[SqlParameter]>
pub fn query_parameters(&self) -> Option<&[SqlParameter]>
The parameters used in a SQL statement.
sourcepub fn is_batch_statement(&self) -> Option<bool>
pub fn is_batch_statement(&self) -> Option<bool>
A value that indicates whether the statement is a batch query request.
sourceimpl StatementData
impl StatementData
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StatementData.
Trait Implementations
sourceimpl Clone for StatementData
impl Clone for StatementData
sourcefn clone(&self) -> StatementData
fn clone(&self) -> StatementData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for StatementData
impl Debug for StatementData
sourceimpl PartialEq<StatementData> for StatementData
impl PartialEq<StatementData> for StatementData
sourcefn eq(&self, other: &StatementData) -> bool
fn eq(&self, other: &StatementData) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &StatementData) -> bool
fn ne(&self, other: &StatementData) -> bool
This method tests for !=.
impl StructuralPartialEq for StatementData
Auto Trait Implementations
impl RefUnwindSafe for StatementData
impl Send for StatementData
impl Sync for StatementData
impl Unpin for StatementData
impl UnwindSafe for StatementData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more