pub struct StatementView {Show 18 fields
pub id: String,
pub sql: String,
pub cluster_identifier: Option<String>,
pub workgroup_name: Option<String>,
pub database: String,
pub db_user: Option<String>,
pub secret_arn: Option<String>,
pub status: String,
pub created_at: String,
pub updated_at: String,
pub result_rows: i64,
pub result_size: i64,
pub has_result_set: bool,
pub query_string: String,
pub parameters: Vec<StatementParameterView>,
pub result_columns: Vec<(String, String)>,
pub result_data: Vec<Vec<Option<String>>>,
pub error_message: Option<String>,
}Expand description
Serializable view of a statement.
Fields§
§id: String§sql: String§cluster_identifier: Option<String>§workgroup_name: Option<String>§database: String§db_user: Option<String>§secret_arn: Option<String>§status: String§created_at: String§updated_at: String§result_rows: i64§result_size: i64§has_result_set: bool§query_string: String§parameters: Vec<StatementParameterView>§result_columns: Vec<(String, String)>§result_data: Vec<Vec<Option<String>>>§error_message: Option<String>Trait Implementations§
Source§impl Clone for StatementView
impl Clone for StatementView
Source§fn clone(&self) -> StatementView
fn clone(&self) -> StatementView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StatementView
impl Debug for StatementView
Source§impl Default for StatementView
impl Default for StatementView
Source§fn default() -> StatementView
fn default() -> StatementView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatementView
impl<'de> Deserialize<'de> for StatementView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&Statement> for StatementView
impl From<&Statement> for StatementView
Source§impl From<StatementView> for Statement
impl From<StatementView> for Statement
Source§fn from(v: StatementView) -> Self
fn from(v: StatementView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StatementView
impl RefUnwindSafe for StatementView
impl Send for StatementView
impl Sync for StatementView
impl Unpin for StatementView
impl UnsafeUnpin for StatementView
impl UnwindSafe for StatementView
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.