pub enum KeyChange {
Set(ApiKey),
Keep,
None,
}Expand description
How a custom provider is saved: its key is replaced, kept from the provider it replaces, or left out.
Variants§
Auto Trait Implementations§
impl Forget for KeyChange
impl Freeze for KeyChange
impl Move for KeyChange
impl RefUnwindSafe for KeyChange
impl Send for KeyChange
impl Sync for KeyChange
impl Unpin for KeyChange
impl UnsafeUnpin for KeyChange
impl UnwindSafe for KeyChange
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