Struct aws_sdk_workdocs::operation::describe_comments::builders::DescribeCommentsOutputBuilder
source · #[non_exhaustive]pub struct DescribeCommentsOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeCommentsOutput
.
Implementations§
source§impl DescribeCommentsOutputBuilder
impl DescribeCommentsOutputBuilder
sourcepub fn comments(self, input: Comment) -> Self
pub fn comments(self, input: Comment) -> Self
Appends an item to comments
.
To override the contents of this collection use set_comments
.
The list of comments for the specified document version.
sourcepub fn set_comments(self, input: Option<Vec<Comment>>) -> Self
pub fn set_comments(self, input: Option<Vec<Comment>>) -> Self
The list of comments for the specified document version.
sourcepub fn get_comments(&self) -> &Option<Vec<Comment>>
pub fn get_comments(&self) -> &Option<Vec<Comment>>
The list of comments for the specified document version.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
The marker for the next set of results. This marker was received from a previous call.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
The marker for the next set of results. This marker was received from a previous call.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
The marker for the next set of results. This marker was received from a previous call.
sourcepub fn build(self) -> DescribeCommentsOutput
pub fn build(self) -> DescribeCommentsOutput
Consumes the builder and constructs a DescribeCommentsOutput
.
Trait Implementations§
source§impl Clone for DescribeCommentsOutputBuilder
impl Clone for DescribeCommentsOutputBuilder
source§fn clone(&self) -> DescribeCommentsOutputBuilder
fn clone(&self) -> DescribeCommentsOutputBuilder
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 DescribeCommentsOutputBuilder
impl Default for DescribeCommentsOutputBuilder
source§fn default() -> DescribeCommentsOutputBuilder
fn default() -> DescribeCommentsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeCommentsOutputBuilder
impl PartialEq for DescribeCommentsOutputBuilder
source§fn eq(&self, other: &DescribeCommentsOutputBuilder) -> bool
fn eq(&self, other: &DescribeCommentsOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DescribeCommentsOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeCommentsOutputBuilder
impl RefUnwindSafe for DescribeCommentsOutputBuilder
impl Send for DescribeCommentsOutputBuilder
impl Sync for DescribeCommentsOutputBuilder
impl Unpin for DescribeCommentsOutputBuilder
impl UnwindSafe for DescribeCommentsOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.