Struct aws_sdk_backup::model::FrameworkControl
source · [−]#[non_exhaustive]pub struct FrameworkControl {
pub control_name: Option<String>,
pub control_input_parameters: Option<Vec<ControlInputParameter>>,
pub control_scope: Option<ControlScope>,
}
Expand description
Contains detailed information about all of the controls of a framework. Each framework must contain at least one control.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.control_name: Option<String>
The name of a control. This name is between 1 and 256 characters.
control_input_parameters: Option<Vec<ControlInputParameter>>
A list of ParameterName
and ParameterValue
pairs.
control_scope: Option<ControlScope>
The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. For more information, see ControlScope
.
Implementations
sourceimpl FrameworkControl
impl FrameworkControl
sourcepub fn control_name(&self) -> Option<&str>
pub fn control_name(&self) -> Option<&str>
The name of a control. This name is between 1 and 256 characters.
sourcepub fn control_input_parameters(&self) -> Option<&[ControlInputParameter]>
pub fn control_input_parameters(&self) -> Option<&[ControlInputParameter]>
A list of ParameterName
and ParameterValue
pairs.
sourcepub fn control_scope(&self) -> Option<&ControlScope>
pub fn control_scope(&self) -> Option<&ControlScope>
The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. For more information, see ControlScope
.
sourceimpl FrameworkControl
impl FrameworkControl
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FrameworkControl
.
Trait Implementations
sourceimpl Clone for FrameworkControl
impl Clone for FrameworkControl
sourcefn clone(&self) -> FrameworkControl
fn clone(&self) -> FrameworkControl
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 FrameworkControl
impl Debug for FrameworkControl
sourceimpl PartialEq<FrameworkControl> for FrameworkControl
impl PartialEq<FrameworkControl> for FrameworkControl
sourcefn eq(&self, other: &FrameworkControl) -> bool
fn eq(&self, other: &FrameworkControl) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FrameworkControl) -> bool
fn ne(&self, other: &FrameworkControl) -> bool
This method tests for !=
.
impl StructuralPartialEq for FrameworkControl
Auto Trait Implementations
impl RefUnwindSafe for FrameworkControl
impl Send for FrameworkControl
impl Sync for FrameworkControl
impl Unpin for FrameworkControl
impl UnwindSafe for FrameworkControl
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> 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