#[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 get_type(&self) -> &Option<DocumentReviewCommentType>
pub fn get_type(&self) -> &Option<DocumentReviewCommentType>
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 get_content(&self) -> &Option<String>
pub fn get_content(&self) -> &Option<String>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DocumentReviewCommentSourceBuilder
impl Default for DocumentReviewCommentSourceBuilder
source§fn default() -> DocumentReviewCommentSourceBuilder
fn default() -> DocumentReviewCommentSourceBuilder
source§impl PartialEq for DocumentReviewCommentSourceBuilder
impl PartialEq for DocumentReviewCommentSourceBuilder
source§fn eq(&self, other: &DocumentReviewCommentSourceBuilder) -> bool
fn eq(&self, other: &DocumentReviewCommentSourceBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DocumentReviewCommentSourceBuilder
Auto Trait Implementations§
impl Freeze for DocumentReviewCommentSourceBuilder
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
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