Struct aws_sdk_workdocs::input::CreateCommentInput
source · [−]#[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: 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 AWS 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: bool
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
Implementations
sourceimpl CreateCommentInput
impl CreateCommentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateComment, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateComment, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateComment
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateCommentInput
sourceimpl 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 AWS 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) -> bool
pub fn notify_collaborators(&self) -> bool
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
Trait Implementations
sourceimpl Clone for CreateCommentInput
impl Clone for CreateCommentInput
sourcefn clone(&self) -> CreateCommentInput
fn clone(&self) -> CreateCommentInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateCommentInput
impl Debug for CreateCommentInput
sourceimpl PartialEq<CreateCommentInput> for CreateCommentInput
impl PartialEq<CreateCommentInput> for CreateCommentInput
sourcefn eq(&self, other: &CreateCommentInput) -> bool
fn eq(&self, other: &CreateCommentInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateCommentInput) -> bool
fn ne(&self, other: &CreateCommentInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateCommentInput
Auto Trait Implementations
impl RefUnwindSafe for CreateCommentInput
impl Send for CreateCommentInput
impl Sync for CreateCommentInput
impl Unpin for CreateCommentInput
impl UnwindSafe for CreateCommentInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more