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