pub struct Response {
pub communication_token: String,
pub items: Vec<ResponseItem>,
}Expand description
Response to create tasks.
expected_output_ids and data_dependencies must be created through ResultsService.
Remark : this may have to be enriched to a better management of errors but will the client application be able to manage a missing data dependency or expected output ?
Fields§
§communication_token: StringCommunication token received by the worker during task processing.
items: Vec<ResponseItem>List of task infos if submission successful, else throw gRPC exception.
Trait Implementations§
Source§impl From<Response> for SubmitTasksResponse
impl From<Response> for SubmitTasksResponse
Source§impl From<SubmitTasksResponse> for Response
impl From<SubmitTasksResponse> for Response
Source§fn from(_value: SubmitTasksResponse) -> Self
fn from(_value: SubmitTasksResponse) -> Self
Converts to this type from the input type.
Source§impl IntoRequest<SubmitTasksResponse> for Response
impl IntoRequest<SubmitTasksResponse> for Response
Source§fn into_request(self) -> Request<SubmitTasksResponse>
fn into_request(self) -> Request<SubmitTasksResponse>
Wrap the input message
T in a tonic::RequestSource§impl Ord for Response
impl Ord for Response
Source§impl PartialOrd for Response
impl PartialOrd for Response
impl Eq for Response
impl StructuralPartialEq for Response
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> 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