pub enum OpenAIChatGptSessionProvenance {
Native,
CodexFallback,
}Expand description
Where the ChatGPT session originated — used by CLI/TUI to render accurate status without directly inspecting the filesystem.
Variants§
Native
Session stored in VT Code’s own credential storage (full auto-refresh).
CodexFallback
Session loaded from Codex CLI’s ~/.codex/auth.json (managed by Codex).
Trait Implementations§
Source§impl Clone for OpenAIChatGptSessionProvenance
impl Clone for OpenAIChatGptSessionProvenance
Source§fn clone(&self) -> OpenAIChatGptSessionProvenance
fn clone(&self) -> OpenAIChatGptSessionProvenance
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 moreimpl Copy for OpenAIChatGptSessionProvenance
impl Eq for OpenAIChatGptSessionProvenance
impl StructuralPartialEq for OpenAIChatGptSessionProvenance
Auto Trait Implementations§
impl Freeze for OpenAIChatGptSessionProvenance
impl RefUnwindSafe for OpenAIChatGptSessionProvenance
impl Send for OpenAIChatGptSessionProvenance
impl Sync for OpenAIChatGptSessionProvenance
impl Unpin for OpenAIChatGptSessionProvenance
impl UnsafeUnpin for OpenAIChatGptSessionProvenance
impl UnwindSafe for OpenAIChatGptSessionProvenance
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