pub enum ArgumentValidationError {
BlankQuestion,
BlankModel,
BlankReasoningEffort,
InvalidSearchContextSize,
}Expand description
A rejected request argument or context-size spelling.
Variants§
Trait Implementations§
Source§impl Clone for ArgumentValidationError
impl Clone for ArgumentValidationError
Source§fn clone(&self) -> ArgumentValidationError
fn clone(&self) -> ArgumentValidationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ArgumentValidationError
Source§impl Debug for ArgumentValidationError
impl Debug for ArgumentValidationError
Source§impl Display for ArgumentValidationError
impl Display for ArgumentValidationError
impl Eq for ArgumentValidationError
Source§impl Error for ArgumentValidationError
impl Error for ArgumentValidationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ArgumentValidationError
impl PartialEq for ArgumentValidationError
impl StructuralPartialEq for ArgumentValidationError
Auto Trait Implementations§
impl Freeze for ArgumentValidationError
impl RefUnwindSafe for ArgumentValidationError
impl Send for ArgumentValidationError
impl Sync for ArgumentValidationError
impl Unpin for ArgumentValidationError
impl UnsafeUnpin for ArgumentValidationError
impl UnwindSafe for ArgumentValidationError
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