pub struct StartMaintenanceRequest {
pub engine_attributes: Option<Vec<EngineAttribute>>,
pub server_name: String,
}
Fields
engine_attributes: Option<Vec<EngineAttribute>>
Engine attributes that are specific to the server on which you want to run maintenance.
Attributes accepted in a StartMaintenance request for Chef
-
CHEFMAJORUPGRADE
: If a Chef Automate server is eligible for upgrade to Chef Automate 2, add this engine attribute to aStartMaintenance
request and set the value totrue
to upgrade the server to Chef Automate 2. For more information, see Upgrade an AWS OpsWorks for Chef Automate Server to Chef Automate 2.
server_name: String
The name of the server on which to run maintenance.
Trait Implementations
sourceimpl Clone for StartMaintenanceRequest
impl Clone for StartMaintenanceRequest
sourcefn clone(&self) -> StartMaintenanceRequest
fn clone(&self) -> StartMaintenanceRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StartMaintenanceRequest
impl Debug for StartMaintenanceRequest
sourceimpl Default for StartMaintenanceRequest
impl Default for StartMaintenanceRequest
sourcefn default() -> StartMaintenanceRequest
fn default() -> StartMaintenanceRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<StartMaintenanceRequest> for StartMaintenanceRequest
impl PartialEq<StartMaintenanceRequest> for StartMaintenanceRequest
sourcefn eq(&self, other: &StartMaintenanceRequest) -> bool
fn eq(&self, other: &StartMaintenanceRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartMaintenanceRequest) -> bool
fn ne(&self, other: &StartMaintenanceRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for StartMaintenanceRequest
impl Serialize for StartMaintenanceRequest
impl StructuralPartialEq for StartMaintenanceRequest
Auto Trait Implementations
impl RefUnwindSafe for StartMaintenanceRequest
impl Send for StartMaintenanceRequest
impl Sync for StartMaintenanceRequest
impl Unpin for StartMaintenanceRequest
impl UnwindSafe for StartMaintenanceRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more