#[non_exhaustive]pub struct AutomaticTapeCreationPolicyInfo {
pub automatic_tape_creation_rules: Option<Vec<AutomaticTapeCreationRule>>,
pub gateway_arn: Option<String>,
}
Expand description
Information about the gateway's automatic tape creation policies, including the automatic tape creation rules and the gateway that is using the policies.
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.automatic_tape_creation_rules: Option<Vec<AutomaticTapeCreationRule>>
An automatic tape creation policy consists of a list of automatic tape creation rules. This returns the rules that determine when and how to automatically create new tapes.
gateway_arn: Option<String>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
Implementations§
source§impl AutomaticTapeCreationPolicyInfo
impl AutomaticTapeCreationPolicyInfo
sourcepub fn automatic_tape_creation_rules(&self) -> &[AutomaticTapeCreationRule]
pub fn automatic_tape_creation_rules(&self) -> &[AutomaticTapeCreationRule]
An automatic tape creation policy consists of a list of automatic tape creation rules. This returns the rules that determine when and how to automatically create new tapes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .automatic_tape_creation_rules.is_none()
.
sourcepub fn gateway_arn(&self) -> Option<&str>
pub fn gateway_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
source§impl AutomaticTapeCreationPolicyInfo
impl AutomaticTapeCreationPolicyInfo
sourcepub fn builder() -> AutomaticTapeCreationPolicyInfoBuilder
pub fn builder() -> AutomaticTapeCreationPolicyInfoBuilder
Creates a new builder-style object to manufacture AutomaticTapeCreationPolicyInfo
.
Trait Implementations§
source§impl Clone for AutomaticTapeCreationPolicyInfo
impl Clone for AutomaticTapeCreationPolicyInfo
source§fn clone(&self) -> AutomaticTapeCreationPolicyInfo
fn clone(&self) -> AutomaticTapeCreationPolicyInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AutomaticTapeCreationPolicyInfo
impl PartialEq for AutomaticTapeCreationPolicyInfo
source§fn eq(&self, other: &AutomaticTapeCreationPolicyInfo) -> bool
fn eq(&self, other: &AutomaticTapeCreationPolicyInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutomaticTapeCreationPolicyInfo
Auto Trait Implementations§
impl Freeze for AutomaticTapeCreationPolicyInfo
impl RefUnwindSafe for AutomaticTapeCreationPolicyInfo
impl Send for AutomaticTapeCreationPolicyInfo
impl Sync for AutomaticTapeCreationPolicyInfo
impl Unpin for AutomaticTapeCreationPolicyInfo
impl UnwindSafe for AutomaticTapeCreationPolicyInfo
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more