#[non_exhaustive]pub struct DocumentReviewCommentSourceBuilder { /* private fields */ }
Expand description
A builder for DocumentReviewCommentSource
.
Implementations§
source§impl DocumentReviewCommentSourceBuilder
impl DocumentReviewCommentSourceBuilder
sourcepub fn type(self, input: DocumentReviewCommentType) -> Self
pub fn type(self, input: DocumentReviewCommentType) -> Self
The type of information added to a review request. Currently, only the value Comment
is supported.
sourcepub fn set_type(self, input: Option<DocumentReviewCommentType>) -> Self
pub fn set_type(self, input: Option<DocumentReviewCommentType>) -> Self
The type of information added to a review request. Currently, only the value Comment
is supported.
sourcepub fn content(self, input: impl Into<String>) -> Self
pub fn content(self, input: impl Into<String>) -> Self
The content of a comment entered by a user who requests a review of a new document version, or who reviews the new version.
sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
The content of a comment entered by a user who requests a review of a new document version, or who reviews the new version.
sourcepub fn build(self) -> DocumentReviewCommentSource
pub fn build(self) -> DocumentReviewCommentSource
Consumes the builder and constructs a DocumentReviewCommentSource
.
Trait Implementations§
source§impl Clone for DocumentReviewCommentSourceBuilder
impl Clone for DocumentReviewCommentSourceBuilder
source§fn clone(&self) -> DocumentReviewCommentSourceBuilder
fn clone(&self) -> DocumentReviewCommentSourceBuilder
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 Default for DocumentReviewCommentSourceBuilder
impl Default for DocumentReviewCommentSourceBuilder
source§fn default() -> DocumentReviewCommentSourceBuilder
fn default() -> DocumentReviewCommentSourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DocumentReviewCommentSourceBuilder> for DocumentReviewCommentSourceBuilder
impl PartialEq<DocumentReviewCommentSourceBuilder> for DocumentReviewCommentSourceBuilder
source§fn eq(&self, other: &DocumentReviewCommentSourceBuilder) -> bool
fn eq(&self, other: &DocumentReviewCommentSourceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DocumentReviewCommentSourceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DocumentReviewCommentSourceBuilder
impl Send for DocumentReviewCommentSourceBuilder
impl Sync for DocumentReviewCommentSourceBuilder
impl Unpin for DocumentReviewCommentSourceBuilder
impl UnwindSafe for DocumentReviewCommentSourceBuilder
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