Struct aws_sdk_athena::types::PreparedStatement
source · #[non_exhaustive]pub struct PreparedStatement {
pub statement_name: Option<String>,
pub query_statement: Option<String>,
pub work_group_name: Option<String>,
pub description: Option<String>,
pub last_modified_time: Option<DateTime>,
}Expand description
A prepared SQL statement for use with Athena.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.statement_name: Option<String>The name of the prepared statement.
query_statement: Option<String>The query string for the prepared statement.
work_group_name: Option<String>The name of the workgroup to which the prepared statement belongs.
description: Option<String>The description of the prepared statement.
last_modified_time: Option<DateTime>The last modified time of the prepared statement.
Implementations§
source§impl PreparedStatement
impl PreparedStatement
sourcepub fn statement_name(&self) -> Option<&str>
pub fn statement_name(&self) -> Option<&str>
The name of the prepared statement.
sourcepub fn query_statement(&self) -> Option<&str>
pub fn query_statement(&self) -> Option<&str>
The query string for the prepared statement.
sourcepub fn work_group_name(&self) -> Option<&str>
pub fn work_group_name(&self) -> Option<&str>
The name of the workgroup to which the prepared statement belongs.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the prepared statement.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The last modified time of the prepared statement.
source§impl PreparedStatement
impl PreparedStatement
sourcepub fn builder() -> PreparedStatementBuilder
pub fn builder() -> PreparedStatementBuilder
Creates a new builder-style object to manufacture PreparedStatement.
Trait Implementations§
source§impl Clone for PreparedStatement
impl Clone for PreparedStatement
source§fn clone(&self) -> PreparedStatement
fn clone(&self) -> PreparedStatement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PreparedStatement
impl Debug for PreparedStatement
source§impl PartialEq<PreparedStatement> for PreparedStatement
impl PartialEq<PreparedStatement> for PreparedStatement
source§fn eq(&self, other: &PreparedStatement) -> bool
fn eq(&self, other: &PreparedStatement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PreparedStatement
Auto Trait Implementations§
impl RefUnwindSafe for PreparedStatement
impl Send for PreparedStatement
impl Sync for PreparedStatement
impl Unpin for PreparedStatement
impl UnwindSafe for PreparedStatement
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
Mutably borrows from an owned value. Read more