pub struct CommentBuilder<'a, S: State> { /* private fields */ }Expand description
Builder for constructing an instance of this type
Implementations§
Source§impl<'a> CommentBuilder<'a, Empty>
impl<'a> CommentBuilder<'a, Empty>
Source§impl<'a, S: State> CommentBuilder<'a, S>
impl<'a, S: State> CommentBuilder<'a, S>
Sourcepub fn attachments(self, value: impl Into<Option<Images<'a>>>) -> Self
pub fn attachments(self, value: impl Into<Option<Images<'a>>>) -> Self
Set the attachments field (optional)
Sourcepub fn maybe_attachments(self, value: Option<Images<'a>>) -> Self
pub fn maybe_attachments(self, value: Option<Images<'a>>) -> Self
Set the attachments field to an Option value (optional)
Source§impl<'a, S> CommentBuilder<'a, S>
impl<'a, S> CommentBuilder<'a, S>
Source§impl<'a, S: State> CommentBuilder<'a, S>
impl<'a, S: State> CommentBuilder<'a, S>
Source§impl<'a, S> CommentBuilder<'a, S>
impl<'a, S> CommentBuilder<'a, S>
Source§impl<'a, S> CommentBuilder<'a, S>
impl<'a, S> CommentBuilder<'a, S>
Sourcepub fn created_at(
self,
value: impl Into<Datetime>,
) -> CommentBuilder<'a, SetCreatedAt<S>>
pub fn created_at( self, value: impl Into<Datetime>, ) -> CommentBuilder<'a, SetCreatedAt<S>>
Set the createdAt field (required)
Source§impl<'a, S: State> CommentBuilder<'a, S>
impl<'a, S: State> CommentBuilder<'a, S>
Source§impl<'a, S> CommentBuilder<'a, S>
impl<'a, S> CommentBuilder<'a, S>
Auto Trait Implementations§
impl<'a, S> Freeze for CommentBuilder<'a, S>
impl<'a, S> RefUnwindSafe for CommentBuilder<'a, S>
impl<'a, S> Send for CommentBuilder<'a, S>
impl<'a, S> Sync for CommentBuilder<'a, S>
impl<'a, S> Unpin for CommentBuilder<'a, S>
impl<'a, S> UnsafeUnpin for CommentBuilder<'a, S>
impl<'a, S> UnwindSafe for CommentBuilder<'a, 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