pub enum FileExpiry {
Usable {
expires_at: Option<Timestamp>,
},
Expired,
}Expand description
Whether the Codex CLI’s store holds a token that can still be used: its access token, or its refresh token once the access token has expired.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Forget for FileExpiry
impl Freeze for FileExpiry
impl Move for FileExpiry
impl RefUnwindSafe for FileExpiry
impl Send for FileExpiry
impl Sync for FileExpiry
impl Unpin for FileExpiry
impl UnsafeUnpin for FileExpiry
impl UnwindSafe for FileExpiry
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