pub struct EnvironmentAuthTokenProvider;
Expand description
Auth token provided that takes the auth token from the environment variable OPENAI_API_KEY
.
Trait Implementations§
Source§impl Clone for EnvironmentAuthTokenProvider
impl Clone for EnvironmentAuthTokenProvider
Source§fn clone(&self) -> EnvironmentAuthTokenProvider
fn clone(&self) -> EnvironmentAuthTokenProvider
Returns a copy 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 EnvironmentAuthTokenProvider
impl RefUnwindSafe for EnvironmentAuthTokenProvider
impl Send for EnvironmentAuthTokenProvider
impl Sync for EnvironmentAuthTokenProvider
impl Unpin for EnvironmentAuthTokenProvider
impl UnwindSafe for EnvironmentAuthTokenProvider
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