Enum async_openai::types::LastErrorCode
source · pub enum LastErrorCode {
ServerError,
RateLimitExceeded,
}
Variants§
Trait Implementations§
source§impl Clone for LastErrorCode
impl Clone for LastErrorCode
source§fn clone(&self) -> LastErrorCode
fn clone(&self) -> LastErrorCode
Returns a copy 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 LastErrorCode
impl Debug for LastErrorCode
source§impl<'de> Deserialize<'de> for LastErrorCode
impl<'de> Deserialize<'de> for LastErrorCode
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 LastErrorCode
impl PartialEq for LastErrorCode
source§fn eq(&self, other: &LastErrorCode) -> bool
fn eq(&self, other: &LastErrorCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LastErrorCode
impl Serialize for LastErrorCode
impl StructuralPartialEq for LastErrorCode
Auto Trait Implementations§
impl RefUnwindSafe for LastErrorCode
impl Send for LastErrorCode
impl Sync for LastErrorCode
impl Unpin for LastErrorCode
impl UnwindSafe for LastErrorCode
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