pub struct GetPostThreadBuilder<'a, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<'a, S: State> GetPostThreadBuilder<'a, S>
impl<'a, S: State> GetPostThreadBuilder<'a, S>
Sourcepub fn build(self) -> GetPostThread<'a>where
S: IsComplete,
pub fn build(self) -> GetPostThread<'a>where
S: IsComplete,
Finish building and return the requested object
Sourcepub fn depth(self, value: i64) -> GetPostThreadBuilder<'a, SetDepth<S>>where
S::Depth: IsUnset,
pub fn depth(self, value: i64) -> GetPostThreadBuilder<'a, SetDepth<S>>where
S::Depth: IsUnset,
Sourcepub fn maybe_depth(
self,
value: Option<i64>,
) -> GetPostThreadBuilder<'a, SetDepth<S>>where
S::Depth: IsUnset,
pub fn maybe_depth(
self,
value: Option<i64>,
) -> GetPostThreadBuilder<'a, SetDepth<S>>where
S::Depth: IsUnset,
Sourcepub fn parent_height(
self,
value: i64,
) -> GetPostThreadBuilder<'a, SetParentHeight<S>>where
S::ParentHeight: IsUnset,
pub fn parent_height(
self,
value: i64,
) -> GetPostThreadBuilder<'a, SetParentHeight<S>>where
S::ParentHeight: IsUnset,
Sourcepub fn maybe_parent_height(
self,
value: Option<i64>,
) -> GetPostThreadBuilder<'a, SetParentHeight<S>>where
S::ParentHeight: IsUnset,
pub fn maybe_parent_height(
self,
value: Option<i64>,
) -> GetPostThreadBuilder<'a, SetParentHeight<S>>where
S::ParentHeight: IsUnset,
Sourcepub fn uri(self, value: AtUri<'a>) -> GetPostThreadBuilder<'a, SetUri<S>>where
S::Uri: IsUnset,
pub fn uri(self, value: AtUri<'a>) -> GetPostThreadBuilder<'a, SetUri<S>>where
S::Uri: IsUnset,
Required.
Auto Trait Implementations§
impl<'a, S> Freeze for GetPostThreadBuilder<'a, S>
impl<'a, S> RefUnwindSafe for GetPostThreadBuilder<'a, S>
impl<'a, S> Send for GetPostThreadBuilder<'a, S>
impl<'a, S> Sync for GetPostThreadBuilder<'a, S>
impl<'a, S> Unpin for GetPostThreadBuilder<'a, S>
impl<'a, S> UnwindSafe for GetPostThreadBuilder<'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