pub enum RunObjectLastErrorCode {
ServerError,
RateLimitExceeded,
InvalidPrompt,
}
Expand description
One of server_error
, rate_limit_exceeded
, or invalid_prompt
.
Variants§
Trait Implementations§
Source§impl Clone for RunObjectLastErrorCode
impl Clone for RunObjectLastErrorCode
Source§fn clone(&self) -> RunObjectLastErrorCode
fn clone(&self) -> RunObjectLastErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RunObjectLastErrorCode
impl Debug for RunObjectLastErrorCode
Source§impl<'de> Deserialize<'de> for RunObjectLastErrorCode
impl<'de> Deserialize<'de> for RunObjectLastErrorCode
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
Source§impl PartialEq for RunObjectLastErrorCode
impl PartialEq for RunObjectLastErrorCode
Source§impl Serialize for RunObjectLastErrorCode
impl Serialize for RunObjectLastErrorCode
impl Copy for RunObjectLastErrorCode
impl StructuralPartialEq for RunObjectLastErrorCode
Auto Trait Implementations§
impl Freeze for RunObjectLastErrorCode
impl RefUnwindSafe for RunObjectLastErrorCode
impl Send for RunObjectLastErrorCode
impl Sync for RunObjectLastErrorCode
impl Unpin for RunObjectLastErrorCode
impl UnwindSafe for RunObjectLastErrorCode
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