pub struct Job {
pub home_dir: PathBuf,
pub directory: PathBuf,
pub command: Vec<String>,
pub jobname: String,
pub output: PathBuf,
pub submitted: Duration,
pub cores: usize,
pub memory_required: u64,
pub max_output: Option<u64>,
pub restartable: bool,
}
Fields§
§home_dir: PathBuf
§directory: PathBuf
§command: Vec<String>
§jobname: String
§output: PathBuf
§submitted: Duration
§cores: usize
§memory_required: u64
§max_output: Option<u64>
§restartable: bool
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Job
impl<'de> Deserialize<'de> for Job
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Job
impl Ord for Job
Source§impl PartialOrd for Job
impl PartialOrd for Job
impl Eq for Job
impl StructuralPartialEq for Job
Auto Trait Implementations§
impl Freeze for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnwindSafe for Job
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