#[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 for ExecuteStatementOutput
impl PartialEq 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.impl StructuralPartialEq for ExecuteStatementOutput
Auto Trait Implementations§
impl Freeze for ExecuteStatementOutput
impl RefUnwindSafe for ExecuteStatementOutput
impl Send for ExecuteStatementOutput
impl Sync for ExecuteStatementOutput
impl Unpin for ExecuteStatementOutput
impl UnwindSafe for ExecuteStatementOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more