pub struct BazaarInfoBuilder<S = Empty>where
S: State,{ /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S> BazaarInfoBuilder<S>where
S: State,
impl<S> BazaarInfoBuilder<S>where
S: State,
Sourcepub fn build(self) -> BazaarInfowhere
S: IsComplete,
pub fn build(self) -> BazaarInfowhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn input(self, value: BazaarInput) -> BazaarInfoBuilder<SetInput<S>>where
<S as State>::Input: IsUnset,
pub fn input(self, value: BazaarInput) -> BazaarInfoBuilder<SetInput<S>>where
<S as State>::Input: IsUnset,
Required.
How to call the endpoint or tool.
Sourcepub fn output(self, value: BazaarOutput) -> BazaarInfoBuilder<SetOutput<S>>where
<S as State>::Output: IsUnset,
pub fn output(self, value: BazaarOutput) -> BazaarInfoBuilder<SetOutput<S>>where
<S as State>::Output: IsUnset,
Sourcepub fn maybe_output(
self,
value: Option<BazaarOutput>,
) -> BazaarInfoBuilder<SetOutput<S>>where
<S as State>::Output: IsUnset,
pub fn maybe_output(
self,
value: Option<BazaarOutput>,
) -> BazaarInfoBuilder<SetOutput<S>>where
<S as State>::Output: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for BazaarInfoBuilder<S>
impl<S> RefUnwindSafe for BazaarInfoBuilder<S>
impl<S> Send for BazaarInfoBuilder<S>
impl<S> Sync for BazaarInfoBuilder<S>
impl<S> Unpin for BazaarInfoBuilder<S>
impl<S> UnsafeUnpin for BazaarInfoBuilder<S>
impl<S> UnwindSafe for BazaarInfoBuilder<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