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<AllocDeploymentStatus>, pub followup_eval_id: Option<String>, pub reschedule_tracker: Option<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<AllocDeploymentStatus>§followup_eval_id: Option<String>§reschedule_tracker: Option<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§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more