pub struct CommentsCreateBuilder<'f1, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with call().
Implementations§
Source§impl<'f1, S: State> CommentsCreateBuilder<'f1, S>
impl<'f1, S: State> CommentsCreateBuilder<'f1, S>
Sourcepub async fn call(
self,
) -> Result<CreateCommentResponse, Error<CommentsCreateError>>where
S: IsComplete,
pub async fn call(
self,
) -> Result<CreateCommentResponse, Error<CommentsCreateError>>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn configuration(
self,
value: &'f1 Configuration,
) -> CommentsCreateBuilder<'f1, SetConfiguration<S>>where
S::Configuration: IsUnset,
pub fn configuration(
self,
value: &'f1 Configuration,
) -> CommentsCreateBuilder<'f1, SetConfiguration<S>>where
S::Configuration: IsUnset,
Required.
Sourcepub fn create_comment_request(
self,
value: CreateCommentRequest,
) -> CommentsCreateBuilder<'f1, SetCreateCommentRequest<S>>where
S::CreateCommentRequest: IsUnset,
pub fn create_comment_request(
self,
value: CreateCommentRequest,
) -> CommentsCreateBuilder<'f1, SetCreateCommentRequest<S>>where
S::CreateCommentRequest: IsUnset,
Required.
Auto Trait Implementations§
impl<'f1, S> Freeze for CommentsCreateBuilder<'f1, S>
impl<'f1, S = Empty> !RefUnwindSafe for CommentsCreateBuilder<'f1, S>
impl<'f1, S> Send for CommentsCreateBuilder<'f1, S>
impl<'f1, S> Sync for CommentsCreateBuilder<'f1, S>
impl<'f1, S> Unpin for CommentsCreateBuilder<'f1, S>
impl<'f1, S = Empty> !UnwindSafe for CommentsCreateBuilder<'f1, S>
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