Struct nomad_client::models::allocation::Allocation [−][src]
Fields
ID: Option<String>
namespace: Option<String>
eval_id: Option<String>
name: Option<String>
node_id: Option<String>
node_name: Option<String>
job_id: Option<String>
job: Option<Box<Job>>
task_group: Option<String>
resources: Option<Box<Resources>>
task_resources: Option<HashMap<String, Resources>>
allocated_resources: Option<Box<AllocatedResources>>
services: Option<HashMap<String, String>>
metrics: Option<Box<AllocationMetric>>
desired_status: Option<String>
desired_description: Option<String>
desired_transition: Option<Box<DesiredTransition>>
client_status: Option<String>
client_description: Option<String>
task_states: Option<HashMap<String, TaskState>>
deployment_id: Option<String>
deployment_status: Option<Box<AllocDeploymentStatus>>
followup_eval_id: Option<String>
previous_allocation: Option<String>
next_allocation: 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>
alloc_modify_index: Option<i32>
create_time: Option<i64>
modify_time: Option<i64>
Implementations
impl Allocation
[src]
pub fn new() -> Allocation
[src]
Trait Implementations
impl Clone for Allocation
[src]
fn clone(&self) -> Allocation
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Allocation
[src]
impl<'de> Deserialize<'de> for Allocation
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<Allocation> for Allocation
[src]
fn eq(&self, other: &Allocation) -> bool
[src]
fn ne(&self, other: &Allocation) -> bool
[src]
impl Serialize for Allocation
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for Allocation
[src]
Auto Trait Implementations
impl RefUnwindSafe for Allocation
impl Send for Allocation
impl Sync for Allocation
impl Unpin for Allocation
impl UnwindSafe for Allocation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,