pub enum OpenAIChatGptAuthStatus {
Authenticated {
label: Option<String>,
age_seconds: u64,
expires_in: Option<u64>,
},
NotAuthenticated,
}Expand description
Generic auth status reused by slash auth/status output.
Variants§
Trait Implementations§
Source§impl Clone for OpenAIChatGptAuthStatus
impl Clone for OpenAIChatGptAuthStatus
Source§fn clone(&self) -> OpenAIChatGptAuthStatus
fn clone(&self) -> OpenAIChatGptAuthStatus
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 moreAuto Trait Implementations§
impl Forget for OpenAIChatGptAuthStatus
impl Freeze for OpenAIChatGptAuthStatus
impl Move for OpenAIChatGptAuthStatus
impl RefUnwindSafe for OpenAIChatGptAuthStatus
impl Send for OpenAIChatGptAuthStatuswhere
RawVecInner: Send,
impl Sync for OpenAIChatGptAuthStatuswhere
RawVecInner: Sync,
impl Unpin for OpenAIChatGptAuthStatus
impl UnsafeUnpin for OpenAIChatGptAuthStatus
impl UnwindSafe for OpenAIChatGptAuthStatuswhere
RawVecInner: UnwindSafe,
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