#[non_exhaustive]pub struct CreateCommentInput {
pub authentication_token: Option<String>,
pub document_id: Option<String>,
pub version_id: Option<String>,
pub parent_id: Option<String>,
pub thread_id: Option<String>,
pub text: Option<String>,
pub visibility: Option<CommentVisibilityType>,
pub notify_collaborators: Option<bool>,
}
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.authentication_token: Option<String>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
document_id: Option<String>
The ID of the document.
version_id: Option<String>
The ID of the document version.
parent_id: Option<String>
The ID of the parent comment.
thread_id: Option<String>
The ID of the root comment in the thread.
text: Option<String>
The text of the comment.
visibility: Option<CommentVisibilityType>
The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.
notify_collaborators: Option<bool>
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
Implementations§
source§impl CreateCommentInput
impl CreateCommentInput
sourcepub fn authentication_token(&self) -> Option<&str>
pub fn authentication_token(&self) -> Option<&str>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn document_id(&self) -> Option<&str>
pub fn document_id(&self) -> Option<&str>
The ID of the document.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The ID of the document version.
sourcepub fn visibility(&self) -> Option<&CommentVisibilityType>
pub fn visibility(&self) -> Option<&CommentVisibilityType>
The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.
sourcepub fn notify_collaborators(&self) -> Option<bool>
pub fn notify_collaborators(&self) -> Option<bool>
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
source§impl CreateCommentInput
impl CreateCommentInput
sourcepub fn builder() -> CreateCommentInputBuilder
pub fn builder() -> CreateCommentInputBuilder
Creates a new builder-style object to manufacture CreateCommentInput
.
Trait Implementations§
source§impl Clone for CreateCommentInput
impl Clone for CreateCommentInput
source§fn clone(&self) -> CreateCommentInput
fn clone(&self) -> CreateCommentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateCommentInput
impl Debug for CreateCommentInput
source§impl PartialEq for CreateCommentInput
impl PartialEq for CreateCommentInput
source§fn eq(&self, other: &CreateCommentInput) -> bool
fn eq(&self, other: &CreateCommentInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateCommentInput
Auto Trait Implementations§
impl Freeze for CreateCommentInput
impl RefUnwindSafe for CreateCommentInput
impl Send for CreateCommentInput
impl Sync for CreateCommentInput
impl Unpin for CreateCommentInput
impl UnwindSafe for CreateCommentInput
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