pub struct SingleRecommendationApplyResult {
pub warnings: String,
pub recommendations: Vec<String>,
pub namespace: String,
pub job_id: String,
pub job_modify_index: u64,
pub eval_id: String,
pub eval_create_index: u64,
}
Expand description
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§warnings: String
§recommendations: Vec<String>
§namespace: String
§job_id: String
§job_modify_index: u64
§eval_id: String
§eval_create_index: u64
Trait Implementations§
Source§impl Clone for SingleRecommendationApplyResult
impl Clone for SingleRecommendationApplyResult
Source§fn clone(&self) -> SingleRecommendationApplyResult
fn clone(&self) -> SingleRecommendationApplyResult
Returns a copy 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 Default for SingleRecommendationApplyResult
impl Default for SingleRecommendationApplyResult
Source§fn default() -> SingleRecommendationApplyResult
fn default() -> SingleRecommendationApplyResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SingleRecommendationApplyResult
impl<'de> Deserialize<'de> for SingleRecommendationApplyResult
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 SingleRecommendationApplyResult
impl PartialEq for SingleRecommendationApplyResult
Source§fn eq(&self, other: &SingleRecommendationApplyResult) -> bool
fn eq(&self, other: &SingleRecommendationApplyResult) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SingleRecommendationApplyResult
Auto Trait Implementations§
impl Freeze for SingleRecommendationApplyResult
impl RefUnwindSafe for SingleRecommendationApplyResult
impl Send for SingleRecommendationApplyResult
impl Sync for SingleRecommendationApplyResult
impl Unpin for SingleRecommendationApplyResult
impl UnwindSafe for SingleRecommendationApplyResult
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