pub struct GetPostThreadBuilder<St: State, S: BosStr = DefaultStr> { /* private fields */ }Expand description
Builder for constructing an instance of this type.
Implementations§
Source§impl<S: BosStr> GetPostThreadBuilder<Empty, S>
impl<S: BosStr> GetPostThreadBuilder<Empty, S>
Source§impl<St: State, S: BosStr> GetPostThreadBuilder<St, S>
impl<St: State, S: BosStr> GetPostThreadBuilder<St, S>
Source§impl<St: State, S: BosStr> GetPostThreadBuilder<St, S>
impl<St: State, S: BosStr> GetPostThreadBuilder<St, S>
Sourcepub fn parent_height(self, value: impl Into<Option<i64>>) -> Self
pub fn parent_height(self, value: impl Into<Option<i64>>) -> Self
Set the parentHeight field (optional)
Sourcepub fn maybe_parent_height(self, value: Option<i64>) -> Self
pub fn maybe_parent_height(self, value: Option<i64>) -> Self
Set the parentHeight field to an Option value (optional)
Source§impl<St, S: BosStr> GetPostThreadBuilder<St, S>
impl<St, S: BosStr> GetPostThreadBuilder<St, S>
Source§impl<St, S: BosStr> GetPostThreadBuilder<St, S>
impl<St, S: BosStr> GetPostThreadBuilder<St, S>
Sourcepub fn build(self) -> GetPostThread<S>
pub fn build(self) -> GetPostThread<S>
Build the final struct.
Auto Trait Implementations§
impl<St, S> Freeze for GetPostThreadBuilder<St, S>where
S: Freeze,
impl<St, S> RefUnwindSafe for GetPostThreadBuilder<St, S>where
S: RefUnwindSafe,
impl<St, S> Send for GetPostThreadBuilder<St, S>where
S: Send,
impl<St, S> Sync for GetPostThreadBuilder<St, S>where
S: Sync,
impl<St, S> Unpin for GetPostThreadBuilder<St, S>where
S: Unpin,
impl<St, S> UnsafeUnpin for GetPostThreadBuilder<St, S>where
S: UnsafeUnpin,
impl<St, S> UnwindSafe for GetPostThreadBuilder<St, S>where
S: UnwindSafe,
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