Struct aws_sdk_ssm::types::DocumentRequires
source · #[non_exhaustive]pub struct DocumentRequires {
pub name: String,
pub version: Option<String>,
pub require_type: Option<String>,
pub version_name: Option<String>,
}
Expand description
An SSM document required by the current document.
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.name: String
The name of the required SSM document. The name can be an Amazon Resource Name (ARN).
version: Option<String>
The document version required by the current document.
require_type: Option<String>
The document type of the required SSM document.
version_name: Option<String>
An optional field specifying the version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.
Implementations§
source§impl DocumentRequires
impl DocumentRequires
sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
The name of the required SSM document. The name can be an Amazon Resource Name (ARN).
sourcepub fn require_type(&self) -> Option<&str>
pub fn require_type(&self) -> Option<&str>
The document type of the required SSM document.
sourcepub fn version_name(&self) -> Option<&str>
pub fn version_name(&self) -> Option<&str>
An optional field specifying the version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.
source§impl DocumentRequires
impl DocumentRequires
sourcepub fn builder() -> DocumentRequiresBuilder
pub fn builder() -> DocumentRequiresBuilder
Creates a new builder-style object to manufacture DocumentRequires
.
Trait Implementations§
source§impl Clone for DocumentRequires
impl Clone for DocumentRequires
source§fn clone(&self) -> DocumentRequires
fn clone(&self) -> DocumentRequires
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DocumentRequires
impl Debug for DocumentRequires
source§impl PartialEq for DocumentRequires
impl PartialEq for DocumentRequires
source§fn eq(&self, other: &DocumentRequires) -> bool
fn eq(&self, other: &DocumentRequires) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DocumentRequires
Auto Trait Implementations§
impl Freeze for DocumentRequires
impl RefUnwindSafe for DocumentRequires
impl Send for DocumentRequires
impl Sync for DocumentRequires
impl Unpin for DocumentRequires
impl UnwindSafe for DocumentRequires
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