Struct aws_sdk_athena::types::NamedQuery
source · #[non_exhaustive]pub struct NamedQuery {
pub name: String,
pub description: Option<String>,
pub database: String,
pub query_string: String,
pub named_query_id: Option<String>,
pub work_group: Option<String>,
}Expand description
A query, where QueryString contains the SQL statements that make up the query.
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.name: StringThe query name.
description: Option<String>The query description.
database: StringThe database to which the query belongs.
query_string: StringThe SQL statements that make up the query.
named_query_id: Option<String>The unique identifier of the query.
work_group: Option<String>The name of the workgroup that contains the named query.
Implementations§
source§impl NamedQuery
impl NamedQuery
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The query description.
sourcepub fn query_string(&self) -> &str
pub fn query_string(&self) -> &str
The SQL statements that make up the query.
sourcepub fn named_query_id(&self) -> Option<&str>
pub fn named_query_id(&self) -> Option<&str>
The unique identifier of the query.
sourcepub fn work_group(&self) -> Option<&str>
pub fn work_group(&self) -> Option<&str>
The name of the workgroup that contains the named query.
source§impl NamedQuery
impl NamedQuery
sourcepub fn builder() -> NamedQueryBuilder
pub fn builder() -> NamedQueryBuilder
Creates a new builder-style object to manufacture NamedQuery.
Trait Implementations§
source§impl Clone for NamedQuery
impl Clone for NamedQuery
source§fn clone(&self) -> NamedQuery
fn clone(&self) -> NamedQuery
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 NamedQuery
impl Debug for NamedQuery
source§impl PartialEq for NamedQuery
impl PartialEq for NamedQuery
source§fn eq(&self, other: &NamedQuery) -> bool
fn eq(&self, other: &NamedQuery) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for NamedQuery
Auto Trait Implementations§
impl RefUnwindSafe for NamedQuery
impl Send for NamedQuery
impl Sync for NamedQuery
impl Unpin for NamedQuery
impl UnwindSafe for NamedQuery
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
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>
Creates a shared type from an unshared type.