pub struct MsgCreateTask {Show 15 fields
pub creator: String,
pub image: String,
pub command: Vec<String>,
pub args: Vec<String>,
pub env: HashMap<String, String>,
pub input_contexts: HashMap<String, String>,
pub output_contexts: Vec<(String, u64)>,
pub cpus: u64,
pub gpus: u64,
pub memory: ByteSize,
pub time: u64,
pub store_stdout: bool,
pub store_stderr: bool,
pub labels: HashMap<String, String>,
pub tags: Vec<String>,
}
Fields§
§creator: String
§image: String
§command: Vec<String>
§args: Vec<String>
§env: HashMap<String, String>
§input_contexts: HashMap<String, String>
§output_contexts: Vec<(String, u64)>
§cpus: u64
§gpus: u64
§memory: ByteSize
§time: u64
§store_stdout: bool
§store_stderr: bool
§labels: HashMap<String, String>
Auto Trait Implementations§
impl Freeze for MsgCreateTask
impl RefUnwindSafe for MsgCreateTask
impl Send for MsgCreateTask
impl Sync for MsgCreateTask
impl Unpin for MsgCreateTask
impl UnwindSafe for MsgCreateTask
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>
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