pub struct SchedulerSetConfigurationResponse {
pub updated: bool,
}
Expand description
SchedulerSetConfigurationResponse is the response object used when updating scheduler configuration
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§updated: bool
Updated returns whether the config was actually updated Only set when the request uses CAS
Implementations§
Trait Implementations§
Source§impl Clone for SchedulerSetConfigurationResponse
impl Clone for SchedulerSetConfigurationResponse
Source§fn clone(&self) -> SchedulerSetConfigurationResponse
fn clone(&self) -> SchedulerSetConfigurationResponse
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 SchedulerSetConfigurationResponse
impl Default for SchedulerSetConfigurationResponse
Source§fn default() -> SchedulerSetConfigurationResponse
fn default() -> SchedulerSetConfigurationResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchedulerSetConfigurationResponse
impl<'de> Deserialize<'de> for SchedulerSetConfigurationResponse
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 SchedulerSetConfigurationResponse
impl PartialEq for SchedulerSetConfigurationResponse
Source§fn eq(&self, other: &SchedulerSetConfigurationResponse) -> bool
fn eq(&self, other: &SchedulerSetConfigurationResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SchedulerSetConfigurationResponse
Auto Trait Implementations§
impl Freeze for SchedulerSetConfigurationResponse
impl RefUnwindSafe for SchedulerSetConfigurationResponse
impl Send for SchedulerSetConfigurationResponse
impl Sync for SchedulerSetConfigurationResponse
impl Unpin for SchedulerSetConfigurationResponse
impl UnwindSafe for SchedulerSetConfigurationResponse
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