pub struct AllocationStub {Show 24 fields
pub id: String,
pub eval_id: String,
pub name: String,
pub namespace: String,
pub node_id: String,
pub node_name: String,
pub job_id: String,
pub job_type: String,
pub job_version: u64,
pub task_group: String,
pub desired_status: String,
pub desired_description: String,
pub client_status: String,
pub client_description: String,
pub task_states: Option<HashMap<String, AllocationTaskState>>,
pub deployment_id: Option<String>,
pub deployment_status: Option<AllocationDeploymentStatus>,
pub followup_eval_id: Option<String>,
pub preempted_allocations: Option<Vec<String>>,
pub preempted_by_allocation: String,
pub create_index: u64,
pub modify_index: u64,
pub create_time: i64,
pub modify_time: i64,
}Fields§
§id: String§eval_id: String§name: String§namespace: String§node_id: String§node_name: String§job_id: String§job_type: String§job_version: u64§task_group: String§desired_status: String§desired_description: String§client_status: String§client_description: String§task_states: Option<HashMap<String, AllocationTaskState>>§deployment_id: Option<String>§deployment_status: Option<AllocationDeploymentStatus>§followup_eval_id: Option<String>§preempted_allocations: Option<Vec<String>>§preempted_by_allocation: String§create_index: u64§modify_index: u64§create_time: i64§modify_time: i64Trait Implementations§
Source§impl Clone for AllocationStub
impl Clone for AllocationStub
Source§impl Debug for AllocationStub
impl Debug for AllocationStub
Source§impl<'de> Deserialize<'de> for AllocationStub
impl<'de> Deserialize<'de> for AllocationStub
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
Auto Trait Implementations§
impl Freeze for AllocationStub
impl RefUnwindSafe for AllocationStub
impl Send for AllocationStub
impl Sync for AllocationStub
impl Unpin for AllocationStub
impl UnsafeUnpin for AllocationStub
impl UnwindSafe for AllocationStub
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