Struct aws_sdk_glue::types::Statement
source · #[non_exhaustive]pub struct Statement {
pub id: i32,
pub code: Option<String>,
pub state: Option<StatementState>,
pub output: Option<StatementOutput>,
pub progress: f64,
pub started_on: i64,
pub completed_on: i64,
}
Expand description
The statement or request for a particular action to occur in a session.
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.id: i32
The ID of the statement.
code: Option<String>
The execution code of the statement.
state: Option<StatementState>
The state while request is actioned.
output: Option<StatementOutput>
The output in JSON.
progress: f64
The code execution progress.
started_on: i64
The unix time and date that the job definition was started.
completed_on: i64
The unix time and date that the job definition was completed.
Implementations§
source§impl Statement
impl Statement
sourcepub fn state(&self) -> Option<&StatementState>
pub fn state(&self) -> Option<&StatementState>
The state while request is actioned.
sourcepub fn output(&self) -> Option<&StatementOutput>
pub fn output(&self) -> Option<&StatementOutput>
The output in JSON.
sourcepub fn started_on(&self) -> i64
pub fn started_on(&self) -> i64
The unix time and date that the job definition was started.
sourcepub fn completed_on(&self) -> i64
pub fn completed_on(&self) -> i64
The unix time and date that the job definition was completed.
Trait Implementations§
source§impl PartialEq for Statement
impl PartialEq for Statement
impl StructuralPartialEq for Statement
Auto Trait Implementations§
impl RefUnwindSafe for Statement
impl Send for Statement
impl Sync for Statement
impl Unpin for Statement
impl UnwindSafe for Statement
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.