pub struct ReplyRefBuilder<St: State, S: BosStr = DefaultStr> { /* private fields */ }Expand description
Builder for constructing an instance of this type.
Implementations§
Source§impl<S: BosStr> ReplyRefBuilder<Empty, S>
impl<S: BosStr> ReplyRefBuilder<Empty, S>
Source§impl<St: State, S: BosStr> ReplyRefBuilder<St, S>
impl<St: State, S: BosStr> ReplyRefBuilder<St, S>
Set the grandparentAuthor field (optional)
Set the grandparentAuthor field to an Option value (optional)
Source§impl<St, S: BosStr> ReplyRefBuilder<St, S>
impl<St, S: BosStr> ReplyRefBuilder<St, S>
Sourcepub fn parent(
self,
value: impl Into<ReplyRefParent<S>>,
) -> ReplyRefBuilder<SetParent<St>, S>
pub fn parent( self, value: impl Into<ReplyRefParent<S>>, ) -> ReplyRefBuilder<SetParent<St>, S>
Set the parent field (required)
Source§impl<St, S: BosStr> ReplyRefBuilder<St, S>
impl<St, S: BosStr> ReplyRefBuilder<St, S>
Sourcepub fn root(
self,
value: impl Into<ReplyRefRoot<S>>,
) -> ReplyRefBuilder<SetRoot<St>, S>
pub fn root( self, value: impl Into<ReplyRefRoot<S>>, ) -> ReplyRefBuilder<SetRoot<St>, S>
Set the root field (required)
Source§impl<St, S: BosStr> ReplyRefBuilder<St, S>
impl<St, S: BosStr> ReplyRefBuilder<St, S>
Auto Trait Implementations§
impl<St, S = SmolStr> !Freeze for ReplyRefBuilder<St, S>
impl<St, S> RefUnwindSafe for ReplyRefBuilder<St, S>where
S: RefUnwindSafe,
impl<St, S> Send for ReplyRefBuilder<St, S>where
S: Send,
impl<St, S> Sync for ReplyRefBuilder<St, S>where
S: Sync,
impl<St, S> Unpin for ReplyRefBuilder<St, S>where
S: Unpin,
impl<St, S> UnsafeUnpin for ReplyRefBuilder<St, S>where
S: UnsafeUnpin,
impl<St, S> UnwindSafe for ReplyRefBuilder<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