pub enum LastErrorCode {
ServerError,
RateLimitExceeded,
InvalidPrompt,
}
Variants§
Trait Implementations§
Source§impl Clone for LastErrorCode
impl Clone for LastErrorCode
Source§fn clone(&self) -> LastErrorCode
fn clone(&self) -> LastErrorCode
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 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§impl Serialize for LastErrorCode
impl Serialize for LastErrorCode
impl StructuralPartialEq for LastErrorCode
Auto Trait Implementations§
impl Freeze for LastErrorCode
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