pub struct JobStatusResponse {
pub job_id: String,
pub state: i32,
pub assigned_worker_id: String,
pub progress: f32,
pub started_timestamp: i64,
pub completed_timestamp: i64,
}Fields§
§job_id: String§state: i32§assigned_worker_id: String§progress: f32§started_timestamp: i64§completed_timestamp: i64Trait Implementations§
Source§impl Clone for JobStatusResponse
impl Clone for JobStatusResponse
Source§fn clone(&self) -> JobStatusResponse
fn clone(&self) -> JobStatusResponse
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 JobStatusResponse
impl Debug for JobStatusResponse
Source§impl Default for JobStatusResponse
impl Default for JobStatusResponse
Source§fn default() -> JobStatusResponse
fn default() -> JobStatusResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for JobStatusResponse
impl PartialEq for JobStatusResponse
impl StructuralPartialEq for JobStatusResponse
Auto Trait Implementations§
impl Freeze for JobStatusResponse
impl RefUnwindSafe for JobStatusResponse
impl Send for JobStatusResponse
impl Sync for JobStatusResponse
impl Unpin for JobStatusResponse
impl UnsafeUnpin for JobStatusResponse
impl UnwindSafe for JobStatusResponse
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request