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 · 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 Freeze for OpenAIChatGptAuthStatus
impl RefUnwindSafe for OpenAIChatGptAuthStatus
impl Send for OpenAIChatGptAuthStatus
impl Sync for OpenAIChatGptAuthStatus
impl Unpin for OpenAIChatGptAuthStatus
impl UnsafeUnpin for OpenAIChatGptAuthStatus
impl UnwindSafe for OpenAIChatGptAuthStatus
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