pub struct HcaptchaClassificationTaskBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> HcaptchaClassificationTaskBuilder<S>
impl<S: State> HcaptchaClassificationTaskBuilder<S>
Sourcepub fn build(self) -> HcaptchaClassificationTaskwhere
S: IsComplete,
pub fn build(self) -> HcaptchaClassificationTaskwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn image(
self,
value: impl Into<String>,
) -> HcaptchaClassificationTaskBuilder<SetImage<S>>where
S::Image: IsUnset,
pub fn image(
self,
value: impl Into<String>,
) -> HcaptchaClassificationTaskBuilder<SetImage<S>>where
S::Image: IsUnset,
Sourcepub fn maybe_image(
self,
value: Option<impl Into<String>>,
) -> HcaptchaClassificationTaskBuilder<SetImage<S>>where
S::Image: IsUnset,
pub fn maybe_image(
self,
value: Option<impl Into<String>>,
) -> HcaptchaClassificationTaskBuilder<SetImage<S>>where
S::Image: IsUnset,
Sourcepub fn images(
self,
value: Vec<String>,
) -> HcaptchaClassificationTaskBuilder<SetImages<S>>where
S::Images: IsUnset,
pub fn images(
self,
value: Vec<String>,
) -> HcaptchaClassificationTaskBuilder<SetImages<S>>where
S::Images: IsUnset,
Sourcepub fn maybe_images(
self,
value: Option<Vec<String>>,
) -> HcaptchaClassificationTaskBuilder<SetImages<S>>where
S::Images: IsUnset,
pub fn maybe_images(
self,
value: Option<Vec<String>>,
) -> HcaptchaClassificationTaskBuilder<SetImages<S>>where
S::Images: IsUnset,
Sourcepub fn anchors(
self,
value: Vec<String>,
) -> HcaptchaClassificationTaskBuilder<SetAnchors<S>>where
S::Anchors: IsUnset,
pub fn anchors(
self,
value: Vec<String>,
) -> HcaptchaClassificationTaskBuilder<SetAnchors<S>>where
S::Anchors: IsUnset,
Sourcepub fn maybe_anchors(
self,
value: Option<Vec<String>>,
) -> HcaptchaClassificationTaskBuilder<SetAnchors<S>>where
S::Anchors: IsUnset,
pub fn maybe_anchors(
self,
value: Option<Vec<String>>,
) -> HcaptchaClassificationTaskBuilder<SetAnchors<S>>where
S::Anchors: IsUnset,
Sourcepub fn question(
self,
value: impl Into<String>,
) -> HcaptchaClassificationTaskBuilder<SetQuestion<S>>where
S::Question: IsUnset,
pub fn question(
self,
value: impl Into<String>,
) -> HcaptchaClassificationTaskBuilder<SetQuestion<S>>where
S::Question: IsUnset,
Sourcepub fn maybe_question(
self,
value: Option<impl Into<String>>,
) -> HcaptchaClassificationTaskBuilder<SetQuestion<S>>where
S::Question: IsUnset,
pub fn maybe_question(
self,
value: Option<impl Into<String>>,
) -> HcaptchaClassificationTaskBuilder<SetQuestion<S>>where
S::Question: IsUnset,
Sourcepub fn module(
self,
value: impl Into<String>,
) -> HcaptchaClassificationTaskBuilder<SetModule<S>>where
S::Module: IsUnset,
pub fn module(
self,
value: impl Into<String>,
) -> HcaptchaClassificationTaskBuilder<SetModule<S>>where
S::Module: IsUnset,
Sourcepub fn maybe_module(
self,
value: Option<impl Into<String>>,
) -> HcaptchaClassificationTaskBuilder<SetModule<S>>where
S::Module: IsUnset,
pub fn maybe_module(
self,
value: Option<impl Into<String>>,
) -> HcaptchaClassificationTaskBuilder<SetModule<S>>where
S::Module: IsUnset,
Sourcepub fn extra(
self,
value: ExtraFields,
) -> HcaptchaClassificationTaskBuilder<SetExtra<S>>where
S::Extra: IsUnset,
pub fn extra(
self,
value: ExtraFields,
) -> HcaptchaClassificationTaskBuilder<SetExtra<S>>where
S::Extra: IsUnset,
Sourcepub fn maybe_extra(
self,
value: Option<ExtraFields>,
) -> HcaptchaClassificationTaskBuilder<SetExtra<S>>where
S::Extra: IsUnset,
pub fn maybe_extra(
self,
value: Option<ExtraFields>,
) -> HcaptchaClassificationTaskBuilder<SetExtra<S>>where
S::Extra: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for HcaptchaClassificationTaskBuilder<S>
impl<S> RefUnwindSafe for HcaptchaClassificationTaskBuilder<S>
impl<S> Send for HcaptchaClassificationTaskBuilder<S>
impl<S> Sync for HcaptchaClassificationTaskBuilder<S>
impl<S> Unpin for HcaptchaClassificationTaskBuilder<S>
impl<S> UnsafeUnpin for HcaptchaClassificationTaskBuilder<S>
impl<S> UnwindSafe for HcaptchaClassificationTaskBuilder<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