pub struct CatalogerOptionsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build()
.
Implementations§
Source§impl<S: State> CatalogerOptionsBuilder<S>
impl<S: State> CatalogerOptionsBuilder<S>
Sourcepub fn build(self) -> CatalogerOptionswhere
S: IsComplete,
pub fn build(self) -> CatalogerOptionswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn limit(self, value: usize) -> CatalogerOptionsBuilder<SetLimit<S>>where
S::Limit: IsUnset,
pub fn limit(self, value: usize) -> CatalogerOptionsBuilder<SetLimit<S>>where
S::Limit: IsUnset,
Sourcepub fn maybe_limit(
self,
value: Option<usize>,
) -> CatalogerOptionsBuilder<SetLimit<S>>where
S::Limit: IsUnset,
pub fn maybe_limit(
self,
value: Option<usize>,
) -> CatalogerOptionsBuilder<SetLimit<S>>where
S::Limit: IsUnset,
Sourcepub fn output(
self,
value: impl Into<String>,
) -> CatalogerOptionsBuilder<SetOutput<S>>where
S::Output: IsUnset,
pub fn output(
self,
value: impl Into<String>,
) -> CatalogerOptionsBuilder<SetOutput<S>>where
S::Output: IsUnset,
Sourcepub fn maybe_output(
self,
value: Option<impl Into<String>>,
) -> CatalogerOptionsBuilder<SetOutput<S>>where
S::Output: IsUnset,
pub fn maybe_output(
self,
value: Option<impl Into<String>>,
) -> CatalogerOptionsBuilder<SetOutput<S>>where
S::Output: IsUnset,
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for CatalogerOptionsBuilder<S>
impl<S> RefUnwindSafe for CatalogerOptionsBuilder<S>
impl<S> Send for CatalogerOptionsBuilder<S>
impl<S> Sync for CatalogerOptionsBuilder<S>
impl<S> Unpin for CatalogerOptionsBuilder<S>
impl<S> UnwindSafe for CatalogerOptionsBuilder<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