pub struct UnstableTopicListBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> UnstableTopicListBuilder<S>
impl<S: State> UnstableTopicListBuilder<S>
Sourcepub fn build(self) -> UnstableTopicListwhere
S: IsComplete,
pub fn build(self) -> UnstableTopicListwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn window(
self,
value: UnstableTopicWindow,
) -> UnstableTopicListBuilder<SetWindow<S>>where
S::Window: IsUnset,
pub fn window(
self,
value: UnstableTopicWindow,
) -> UnstableTopicListBuilder<SetWindow<S>>where
S::Window: IsUnset,
Required.
Sourcepub fn data(
self,
value: Vec<UnstableTopic>,
) -> UnstableTopicListBuilder<SetData<S>>where
S::Data: IsUnset,
pub fn data(
self,
value: Vec<UnstableTopic>,
) -> UnstableTopicListBuilder<SetData<S>>where
S::Data: IsUnset,
Required.
Sourcepub fn facets(
self,
value: Vec<UnstableTopicFacetCounts>,
) -> UnstableTopicListBuilder<SetFacets<S>>where
S::Facets: IsUnset,
pub fn facets(
self,
value: Vec<UnstableTopicFacetCounts>,
) -> UnstableTopicListBuilder<SetFacets<S>>where
S::Facets: IsUnset,
Required.
Sourcepub fn meta(
self,
value: UtilsMetaResponse,
) -> UnstableTopicListBuilder<SetMeta<S>>where
S::Meta: IsUnset,
pub fn meta(
self,
value: UtilsMetaResponse,
) -> UnstableTopicListBuilder<SetMeta<S>>where
S::Meta: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Forget for UnstableTopicListBuilder<S>
impl<S> Freeze for UnstableTopicListBuilder<S>
impl<S> Move for UnstableTopicListBuilder<S>
impl<S> RefUnwindSafe for UnstableTopicListBuilder<S>
impl<S> Send for UnstableTopicListBuilder<S>
impl<S> Sync for UnstableTopicListBuilder<S>
impl<S> Unpin for UnstableTopicListBuilder<S>
impl<S> UnsafeUnpin for UnstableTopicListBuilder<S>
impl<S> UnwindSafe for UnstableTopicListBuilder<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