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