Struct aws_sdk_auditmanager::types::ControlComment
source · #[non_exhaustive]pub struct ControlComment { /* private fields */ }Expand description
A comment that's posted by a user on a control. This includes the author's name, the comment text, and a timestamp.
Implementations§
source§impl ControlComment
impl ControlComment
The name of the user who authored the comment.
sourcepub fn comment_body(&self) -> Option<&str>
pub fn comment_body(&self) -> Option<&str>
The body text of a control comment.
sourcepub fn posted_date(&self) -> Option<&DateTime>
pub fn posted_date(&self) -> Option<&DateTime>
The time when the comment was posted.
source§impl ControlComment
impl ControlComment
sourcepub fn builder() -> ControlCommentBuilder
pub fn builder() -> ControlCommentBuilder
Creates a new builder-style object to manufacture ControlComment.
Trait Implementations§
source§impl Clone for ControlComment
impl Clone for ControlComment
source§fn clone(&self) -> ControlComment
fn clone(&self) -> ControlComment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ControlComment
impl Debug for ControlComment
source§impl PartialEq<ControlComment> for ControlComment
impl PartialEq<ControlComment> for ControlComment
source§fn eq(&self, other: &ControlComment) -> bool
fn eq(&self, other: &ControlComment) -> bool
This method tests for
self and other values to be equal, and is used
by ==.