pub struct RequestItem {
pub expected_output_keys: Vec<String>,
pub data_dependencies: Vec<String>,
pub payload_id: String,
pub task_options: Option<TaskOptions>,
}Expand description
Task creation requests.
Fields§
§expected_output_keys: Vec<String>Unique ID of the results that will be produced by the task. Results should be created using ResultsService.
data_dependencies: Vec<String>Unique ID of the results that will be used as data dependencies. Results should be created using ResultsService.
payload_id: StringUnique ID of the result that will be used as payload. Result should created using ResultsService.
task_options: Option<TaskOptions>Optional task options.
Trait Implementations§
Source§impl Clone for RequestItem
impl Clone for RequestItem
Source§fn clone(&self) -> RequestItem
fn clone(&self) -> RequestItem
Returns a duplicate of the value. Read more
1.0.0 · 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 RequestItem
impl Debug for RequestItem
Source§impl Default for RequestItem
impl Default for RequestItem
Source§fn default() -> RequestItem
fn default() -> RequestItem
Returns the “default value” for a type. Read more
Source§impl From<RequestItem> for TaskCreation
impl From<RequestItem> for TaskCreation
Source§fn from(_value: RequestItem) -> Self
fn from(_value: RequestItem) -> Self
Converts to this type from the input type.
Source§impl From<TaskCreation> for RequestItem
impl From<TaskCreation> for RequestItem
Source§fn from(_value: TaskCreation) -> Self
fn from(_value: TaskCreation) -> Self
Converts to this type from the input type.
Source§impl IntoRequest<TaskCreation> for RequestItem
impl IntoRequest<TaskCreation> for RequestItem
Source§fn into_request(self) -> Request<TaskCreation>
fn into_request(self) -> Request<TaskCreation>
Wrap the input message
T in a tonic::RequestAuto Trait Implementations§
impl Freeze for RequestItem
impl RefUnwindSafe for RequestItem
impl Send for RequestItem
impl Sync for RequestItem
impl Unpin for RequestItem
impl UnwindSafe for RequestItem
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> 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