pub struct ExportedExecution {
pub id: String,
pub job_id: String,
pub target_execution_time: Option<Timestamp>,
pub executor_id: Option<String>,
pub created_at: Option<Timestamp>,
pub ready_at: Option<Timestamp>,
pub assigned_at: Option<Timestamp>,
pub started_at: Option<Timestamp>,
pub succeeded_at: Option<Timestamp>,
pub failed_at: Option<Timestamp>,
pub output_payload_json: Option<String>,
pub failure_reason: Option<String>,
}Expand description
All data belonging to a job execution.
Fields§
§id: StringThe ID of the job execution.
job_id: StringThe ID of the job.
target_execution_time: Option<Timestamp>The target execution time of the job.
executor_id: Option<String>The ID of the executor that executed the job.
created_at: Option<Timestamp>The time when the job execution was created.
ready_at: Option<Timestamp>The time when the job execution was ready
assigned_at: Option<Timestamp>The time when the job execution was assigned to an executor.
started_at: Option<Timestamp>The time when the job execution was started.
succeeded_at: Option<Timestamp>The time when the job execution succeeded.
failed_at: Option<Timestamp>The time when the job execution failed.
output_payload_json: Option<String>The output payload of the job.
failure_reason: Option<String>The reason why the job execution failed.
Implementations§
Source§impl ExportedExecution
impl ExportedExecution
Sourcepub fn executor_id(&self) -> &str
pub fn executor_id(&self) -> &str
Returns the value of executor_id, or the default value if executor_id is unset.
Sourcepub fn output_payload_json(&self) -> &str
pub fn output_payload_json(&self) -> &str
Returns the value of output_payload_json, or the default value if output_payload_json is unset.
Sourcepub fn failure_reason(&self) -> &str
pub fn failure_reason(&self) -> &str
Returns the value of failure_reason, or the default value if failure_reason is unset.
Trait Implementations§
Source§impl Clone for ExportedExecution
impl Clone for ExportedExecution
Source§fn clone(&self) -> ExportedExecution
fn clone(&self) -> ExportedExecution
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExportedExecution
impl Debug for ExportedExecution
Source§impl Default for ExportedExecution
impl Default for ExportedExecution
Source§impl Message for ExportedExecution
impl Message for ExportedExecution
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl Name for ExportedExecution
impl Name for ExportedExecution
Source§const NAME: &'static str = "ExportedExecution"
const NAME: &'static str = "ExportedExecution"
Message.
This name is the same as it appears in the source .proto file, e.g. FooBar.Source§const PACKAGE: &'static str = "ora.snapshot.v1"
const PACKAGE: &'static str = "ora.snapshot.v1"
., e.g. google.protobuf.Source§fn full_name() -> String
fn full_name() -> String
Message.
It’s prefixed with the package name and names of any parent messages,
e.g. google.rpc.BadRequest.FieldViolation.
By default, this is the package name followed by the message name.
Fully-qualified names must be unique within a domain of Type URLs.Source§impl PartialEq for ExportedExecution
impl PartialEq for ExportedExecution
impl StructuralPartialEq for ExportedExecution
Auto Trait Implementations§
impl Freeze for ExportedExecution
impl RefUnwindSafe for ExportedExecution
impl Send for ExportedExecution
impl Sync for ExportedExecution
impl Unpin for ExportedExecution
impl UnwindSafe for ExportedExecution
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> 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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request