pub struct IndexerOptionsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build()
.
Implementations§
Source§impl<S: State> IndexerOptionsBuilder<S>
impl<S: State> IndexerOptionsBuilder<S>
Sourcepub fn build(self) -> IndexerOptionswhere
S: IsComplete,
pub fn build(self) -> IndexerOptionswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn input(
self,
value: impl Into<String>,
) -> IndexerOptionsBuilder<SetInput<S>>where
S::Input: IsUnset,
pub fn input(
self,
value: impl Into<String>,
) -> IndexerOptionsBuilder<SetInput<S>>where
S::Input: IsUnset,
Sourcepub fn maybe_input(
self,
value: Option<impl Into<String>>,
) -> IndexerOptionsBuilder<SetInput<S>>where
S::Input: IsUnset,
pub fn maybe_input(
self,
value: Option<impl Into<String>>,
) -> IndexerOptionsBuilder<SetInput<S>>where
S::Input: IsUnset,
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for IndexerOptionsBuilder<S>
impl<S> RefUnwindSafe for IndexerOptionsBuilder<S>
impl<S> Send for IndexerOptionsBuilder<S>
impl<S> Sync for IndexerOptionsBuilder<S>
impl<S> Unpin for IndexerOptionsBuilder<S>
impl<S> UnwindSafe for IndexerOptionsBuilder<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