pub struct SecretStoreInfo {
pub provider: String,
pub env_var: String,
}Expand description
In-app secret-form support advertised by the service for the active provider.
Present only when the provider takes a static API key (vtcode secret add
route). Absent for login-flow providers (OAuth/managed auth), local
providers, and older services that predate in-app secret storage.
Fields§
§provider: StringProvider the form stores a key for.
env_var: StringExpected environment variable, shown so users paste the right key.
Trait Implementations§
Source§impl Clone for SecretStoreInfo
impl Clone for SecretStoreInfo
Source§impl Debug for SecretStoreInfo
impl Debug for SecretStoreInfo
Source§impl<'de> Deserialize<'de> for SecretStoreInfo
impl<'de> Deserialize<'de> for SecretStoreInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SecretStoreInfo
Source§impl PartialEq for SecretStoreInfo
impl PartialEq for SecretStoreInfo
Source§impl Serialize for SecretStoreInfo
impl Serialize for SecretStoreInfo
impl StructuralPartialEq for SecretStoreInfo
Auto Trait Implementations§
impl Freeze for SecretStoreInfo
impl RefUnwindSafe for SecretStoreInfo
impl Send for SecretStoreInfo
impl Sync for SecretStoreInfo
impl Unpin for SecretStoreInfo
impl UnsafeUnpin for SecretStoreInfo
impl UnwindSafe for SecretStoreInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.