pub struct AllocationListStub {Show 24 fields
pub ID: Option<String>,
pub eval_id: Option<String>,
pub name: Option<String>,
pub namespace: Option<String>,
pub node_id: Option<String>,
pub node_name: Option<String>,
pub job_id: Option<String>,
pub job_type: Option<String>,
pub job_version: Option<i32>,
pub task_group: Option<String>,
pub desired_status: Option<String>,
pub desired_description: Option<String>,
pub client_status: Option<String>,
pub client_description: Option<String>,
pub task_states: Option<HashMap<String, TaskState>>,
pub deployment_status: Option<Box<AllocDeploymentStatus>>,
pub followup_eval_id: Option<String>,
pub reschedule_tracker: Option<Box<RescheduleTracker>>,
pub preempted_allocations: Option<Vec<String>>,
pub preempted_by_allocation: Option<String>,
pub create_index: Option<i32>,
pub modify_index: Option<i32>,
pub create_time: Option<i64>,
pub modify_time: Option<i64>,
}
Fields§
§ID: Option<String>
§eval_id: Option<String>
§name: Option<String>
§namespace: Option<String>
§node_id: Option<String>
§node_name: Option<String>
§job_id: Option<String>
§job_type: Option<String>
§job_version: Option<i32>
§task_group: Option<String>
§desired_status: Option<String>
§desired_description: Option<String>
§client_status: Option<String>
§client_description: Option<String>
§task_states: Option<HashMap<String, TaskState>>
§deployment_status: Option<Box<AllocDeploymentStatus>>
§followup_eval_id: Option<String>
§reschedule_tracker: Option<Box<RescheduleTracker>>
§preempted_allocations: Option<Vec<String>>
§preempted_by_allocation: Option<String>
§create_index: Option<i32>
§modify_index: Option<i32>
§create_time: Option<i64>
§modify_time: Option<i64>
Implementations§
Source§impl AllocationListStub
impl AllocationListStub
pub fn new() -> AllocationListStub
Trait Implementations§
Source§impl Clone for AllocationListStub
impl Clone for AllocationListStub
Source§fn clone(&self) -> AllocationListStub
fn clone(&self) -> AllocationListStub
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AllocationListStub
impl Debug for AllocationListStub
Source§impl<'de> Deserialize<'de> for AllocationListStub
impl<'de> Deserialize<'de> for AllocationListStub
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 AllocationListStub
impl PartialEq for AllocationListStub
Source§impl Serialize for AllocationListStub
impl Serialize for AllocationListStub
impl StructuralPartialEq for AllocationListStub
Auto Trait Implementations§
impl Freeze for AllocationListStub
impl RefUnwindSafe for AllocationListStub
impl Send for AllocationListStub
impl Sync for AllocationListStub
impl Unpin for AllocationListStub
impl UnwindSafe for AllocationListStub
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