#[non_exhaustive]pub struct ExecuteStatementOutput {
pub id: Option<String>,
pub created_at: Option<DateTime>,
pub cluster_identifier: Option<String>,
pub db_user: Option<String>,
pub database: Option<String>,
pub secret_arn: Option<String>,
pub workgroup_name: Option<String>,
/* private fields */
}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 identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
created_at: Option<DateTime>The date and time (UTC) the statement was created.
cluster_identifier: Option<String>The cluster identifier. This element is not returned when connecting to a serverless workgroup.
db_user: Option<String>The database user name.
database: Option<String>The name of the database.
secret_arn: Option<String>The name or ARN of the secret that enables access to the database.
workgroup_name: Option<String>The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster.
Implementations§
source§impl ExecuteStatementOutput
impl ExecuteStatementOutput
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
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 cluster_identifier(&self) -> Option<&str>
pub fn cluster_identifier(&self) -> Option<&str>
The cluster identifier. This element is not returned when connecting to a serverless workgroup.
sourcepub fn secret_arn(&self) -> Option<&str>
pub fn secret_arn(&self) -> Option<&str>
The name or ARN of the secret that enables access to the database.
sourcepub fn workgroup_name(&self) -> Option<&str>
pub fn workgroup_name(&self) -> Option<&str>
The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster.
source§impl ExecuteStatementOutput
impl ExecuteStatementOutput
sourcepub fn builder() -> ExecuteStatementOutputBuilder
pub fn builder() -> ExecuteStatementOutputBuilder
Creates a new builder-style object to manufacture ExecuteStatementOutput.
Trait Implementations§
source§impl Clone for ExecuteStatementOutput
impl Clone for ExecuteStatementOutput
source§fn clone(&self) -> ExecuteStatementOutput
fn clone(&self) -> ExecuteStatementOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExecuteStatementOutput
impl Debug for ExecuteStatementOutput
source§impl PartialEq<ExecuteStatementOutput> for ExecuteStatementOutput
impl PartialEq<ExecuteStatementOutput> for ExecuteStatementOutput
source§fn eq(&self, other: &ExecuteStatementOutput) -> bool
fn eq(&self, other: &ExecuteStatementOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for ExecuteStatementOutput
impl RequestId for ExecuteStatementOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.