pub struct NodesTasksGetStatusResponseData {
pub exitstatus: Option<String>,
pub id: Option<String>,
pub node: String,
pub pid: i64,
pub pstart: i64,
pub starttime: i64,
pub status: String,
pub tokenid: Option<String>,
pub type: String,
pub upid: String,
pub user: String,
}Fields§
§exitstatus: Option<String>‘OK’, ‘Error:
id: Option<String>Worker ID (arbitrary ASCII string)
node: StringNode name (or ‘localhost’)
pid: i64The Unix PID.
pstart: i64The Unix process start time from /proc/pid/stat
starttime: i64The task start time (Epoch)
status: String‘running’ or ‘stopped’
tokenid: Option<String>The token ID part of an API token authentication id. This alone does NOT uniquely identify the API token - use a full Authid for such use cases.
type: StringWorker type (arbitrary ASCII string)
upid: StringUnique Process/Task Identifier
user: StringUser ID
Implementations§
Trait Implementations§
Source§impl Clone for NodesTasksGetStatusResponseData
impl Clone for NodesTasksGetStatusResponseData
Source§fn clone(&self) -> NodesTasksGetStatusResponseData
fn clone(&self) -> NodesTasksGetStatusResponseData
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 Default for NodesTasksGetStatusResponseData
impl Default for NodesTasksGetStatusResponseData
Source§fn default() -> NodesTasksGetStatusResponseData
fn default() -> NodesTasksGetStatusResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodesTasksGetStatusResponseData
impl<'de> Deserialize<'de> for NodesTasksGetStatusResponseData
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 PartialEq for NodesTasksGetStatusResponseData
impl PartialEq for NodesTasksGetStatusResponseData
Source§fn eq(&self, other: &NodesTasksGetStatusResponseData) -> bool
fn eq(&self, other: &NodesTasksGetStatusResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodesTasksGetStatusResponseData
Auto Trait Implementations§
impl Freeze for NodesTasksGetStatusResponseData
impl RefUnwindSafe for NodesTasksGetStatusResponseData
impl Send for NodesTasksGetStatusResponseData
impl Sync for NodesTasksGetStatusResponseData
impl Unpin for NodesTasksGetStatusResponseData
impl UnsafeUnpin for NodesTasksGetStatusResponseData
impl UnwindSafe for NodesTasksGetStatusResponseData
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