pub struct AllocationListStub {Show 25 fields
pub allocated_resources: Option<AllocatedResources>,
pub client_description: Option<String>,
pub client_status: Option<String>,
pub create_index: Option<i32>,
pub create_time: Option<i64>,
pub deployment_status: Option<AllocDeploymentStatus>,
pub desired_description: Option<String>,
pub desired_status: Option<String>,
pub eval_id: Option<String>,
pub followup_eval_id: Option<String>,
pub id: Option<String>,
pub job_id: Option<String>,
pub job_type: Option<String>,
pub job_version: Option<i32>,
pub modify_index: Option<i32>,
pub modify_time: Option<i64>,
pub name: Option<String>,
pub namespace: Option<String>,
pub node_id: Option<String>,
pub node_name: Option<String>,
pub preempted_allocations: Option<Vec<String>>,
pub preempted_by_allocation: Option<String>,
pub reschedule_tracker: Option<RescheduleTracker>,
pub task_group: Option<String>,
pub task_states: Option<HashMap<String, TaskState>>,
}Fields§
§allocated_resources: Option<AllocatedResources>§client_description: Option<String>§client_status: Option<String>§create_index: Option<i32>§create_time: Option<i64>§deployment_status: Option<AllocDeploymentStatus>§desired_description: Option<String>§desired_status: Option<String>§eval_id: Option<String>§followup_eval_id: Option<String>§id: Option<String>§job_id: Option<String>§job_type: Option<String>§job_version: Option<i32>§modify_index: Option<i32>§modify_time: Option<i64>§name: Option<String>§namespace: Option<String>§node_id: Option<String>§node_name: Option<String>§preempted_allocations: Option<Vec<String>>§preempted_by_allocation: Option<String>§reschedule_tracker: Option<RescheduleTracker>§task_group: Option<String>§task_states: Option<HashMap<String, TaskState>>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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AllocationListStub
impl Debug for AllocationListStub
Source§impl Default for AllocationListStub
impl Default for AllocationListStub
Source§fn default() -> AllocationListStub
fn default() -> AllocationListStub
Returns the “default value” for a type. Read more
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