pub struct RunObjectLastError {
pub code: String,
pub message: String,
}
Fields§
§code: String
One of server_error
, rate_limit_exceeded
, or invalid_prompt
.
message: String
A human-readable description of the error.
Trait Implementations§
Source§impl Debug for RunObjectLastError
impl Debug for RunObjectLastError
Source§impl<'de> Deserialize<'de> for RunObjectLastError
impl<'de> Deserialize<'de> for RunObjectLastError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RunObjectLastError
impl RefUnwindSafe for RunObjectLastError
impl Send for RunObjectLastError
impl Sync for RunObjectLastError
impl Unpin for RunObjectLastError
impl UnwindSafe for RunObjectLastError
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