pub struct RefusalStopDetailsBuilder(/* private fields */);Expand description
Builder for RefusalStopDetails.
Implementations§
Source§impl RefusalStopDetailsBuilder
impl RefusalStopDetailsBuilder
pub fn category(self, value: impl Into<Option<RefusalCategory>>) -> Self
pub fn explanation(self, value: impl Into<Option<String>>) -> Self
pub fn fallback_credit_token(self, value: impl Into<Option<String>>) -> Self
pub fn fallback_has_prefill_claim(self, value: impl Into<Option<bool>>) -> Self
pub fn recommended_model(self, value: impl Into<Option<String>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> RefusalStopDetails
pub fn build(self) -> RefusalStopDetails
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for RefusalStopDetailsBuilder
impl RefUnwindSafe for RefusalStopDetailsBuilder
impl Send for RefusalStopDetailsBuilder
impl Sync for RefusalStopDetailsBuilder
impl Unpin for RefusalStopDetailsBuilder
impl UnsafeUnpin for RefusalStopDetailsBuilder
impl UnwindSafe for RefusalStopDetailsBuilder
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