pub struct CreateCommentRequest {
pub authentication_token: Option<String>,
pub document_id: String,
pub notify_collaborators: Option<bool>,
pub parent_id: Option<String>,
pub text: String,
pub thread_id: Option<String>,
pub version_id: String,
pub visibility: Option<String>,
}
Fields§
§authentication_token: Option<String>
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
document_id: String
The ID of the document.
notify_collaborators: Option<bool>
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
parent_id: Option<String>
The ID of the parent comment.
text: String
The text of the comment.
thread_id: Option<String>
The ID of the root comment in the thread.
version_id: String
The ID of the document version.
visibility: Option<String>
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.
Trait Implementations§
Source§impl Clone for CreateCommentRequest
impl Clone for CreateCommentRequest
Source§fn clone(&self) -> CreateCommentRequest
fn clone(&self) -> CreateCommentRequest
Returns a duplicate 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 CreateCommentRequest
impl Debug for CreateCommentRequest
Source§impl Default for CreateCommentRequest
impl Default for CreateCommentRequest
Source§fn default() -> CreateCommentRequest
fn default() -> CreateCommentRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateCommentRequest
impl PartialEq for CreateCommentRequest
Source§impl Serialize for CreateCommentRequest
impl Serialize for CreateCommentRequest
impl StructuralPartialEq for CreateCommentRequest
Auto Trait Implementations§
impl Freeze for CreateCommentRequest
impl RefUnwindSafe for CreateCommentRequest
impl Send for CreateCommentRequest
impl Sync for CreateCommentRequest
impl Unpin for CreateCommentRequest
impl UnwindSafe for CreateCommentRequest
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
Mutably borrows from an owned value. Read more