pub struct JobValidateResponse {
pub driver_config_validated: bool,
pub validation_errors: Vec<String>,
pub error: String,
pub warnings: String,
}
Expand description
JobValidateResponse is the response from validate request
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§driver_config_validated: bool
DriverConfigValidated indicates whether the agent validated the driver config
validation_errors: Vec<String>
ValidationErrors is a list of validation errors
error: String
Error is a string version of any error that may have occurred
warnings: String
Warnings contains any warnings about the given job. These may include deprecation warnings.
Implementations§
Source§impl JobValidateResponse
impl JobValidateResponse
pub fn builder() -> JobValidateResponseBuilder
Trait Implementations§
Source§impl Clone for JobValidateResponse
impl Clone for JobValidateResponse
Source§fn clone(&self) -> JobValidateResponse
fn clone(&self) -> JobValidateResponse
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 Debug for JobValidateResponse
impl Debug for JobValidateResponse
Source§impl<'de> Deserialize<'de> for JobValidateResponse
impl<'de> Deserialize<'de> for JobValidateResponse
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 JobValidateResponse
impl PartialEq for JobValidateResponse
Source§impl Serialize for JobValidateResponse
impl Serialize for JobValidateResponse
impl StructuralPartialEq for JobValidateResponse
Auto Trait Implementations§
impl Freeze for JobValidateResponse
impl RefUnwindSafe for JobValidateResponse
impl Send for JobValidateResponse
impl Sync for JobValidateResponse
impl Unpin for JobValidateResponse
impl UnwindSafe for JobValidateResponse
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