Struct aws_sdk_ssm::types::DocumentReviewerResponseSource
source · #[non_exhaustive]pub struct DocumentReviewerResponseSource {
pub create_time: Option<DateTime>,
pub updated_time: Option<DateTime>,
pub review_status: Option<ReviewStatus>,
pub comment: Option<Vec<DocumentReviewCommentSource>>,
pub reviewer: Option<String>,
}
Expand description
Information about a reviewer's response to a document review request.
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.create_time: Option<DateTime>
The date and time that a reviewer entered a response to a document review request.
updated_time: Option<DateTime>
The date and time that a reviewer last updated a response to a document review request.
review_status: Option<ReviewStatus>
The current review status of a new custom SSM document created by a member of your organization, or of the latest version of an existing SSM document.
Only one version of a document can be in the APPROVED state at a time. When a new version is approved, the status of the previous version changes to REJECTED.
Only one version of a document can be in review, or PENDING, at a time.
comment: Option<Vec<DocumentReviewCommentSource>>
The comment entered by a reviewer as part of their document review response.
reviewer: Option<String>
The user in your organization assigned to review a document request.
Implementations§
source§impl DocumentReviewerResponseSource
impl DocumentReviewerResponseSource
sourcepub fn create_time(&self) -> Option<&DateTime>
pub fn create_time(&self) -> Option<&DateTime>
The date and time that a reviewer entered a response to a document review request.
sourcepub fn updated_time(&self) -> Option<&DateTime>
pub fn updated_time(&self) -> Option<&DateTime>
The date and time that a reviewer last updated a response to a document review request.
sourcepub fn review_status(&self) -> Option<&ReviewStatus>
pub fn review_status(&self) -> Option<&ReviewStatus>
The current review status of a new custom SSM document created by a member of your organization, or of the latest version of an existing SSM document.
Only one version of a document can be in the APPROVED state at a time. When a new version is approved, the status of the previous version changes to REJECTED.
Only one version of a document can be in review, or PENDING, at a time.
sourcepub fn comment(&self) -> &[DocumentReviewCommentSource]
pub fn comment(&self) -> &[DocumentReviewCommentSource]
The comment entered by a reviewer as part of their document review response.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .comment.is_none()
.
source§impl DocumentReviewerResponseSource
impl DocumentReviewerResponseSource
sourcepub fn builder() -> DocumentReviewerResponseSourceBuilder
pub fn builder() -> DocumentReviewerResponseSourceBuilder
Creates a new builder-style object to manufacture DocumentReviewerResponseSource
.
Trait Implementations§
source§impl Clone for DocumentReviewerResponseSource
impl Clone for DocumentReviewerResponseSource
source§fn clone(&self) -> DocumentReviewerResponseSource
fn clone(&self) -> DocumentReviewerResponseSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DocumentReviewerResponseSource
impl PartialEq for DocumentReviewerResponseSource
source§fn eq(&self, other: &DocumentReviewerResponseSource) -> bool
fn eq(&self, other: &DocumentReviewerResponseSource) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DocumentReviewerResponseSource
Auto Trait Implementations§
impl Freeze for DocumentReviewerResponseSource
impl RefUnwindSafe for DocumentReviewerResponseSource
impl Send for DocumentReviewerResponseSource
impl Sync for DocumentReviewerResponseSource
impl Unpin for DocumentReviewerResponseSource
impl UnwindSafe for DocumentReviewerResponseSource
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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