pub struct SecretStoreParams {
pub provider: String,
pub api_key: String,
}Expand description
Parameters for storing a provider API key from the desktop client.
The secret travels the local stdio channel only. Callers must never log, persist, or re-render the key; the service stores it via the platform secure-storage backend and reports provider labels on failure.
Fields§
§provider: StringProvider identifier, such as meta.
api_key: StringAPI key to persist in secure storage. Never echoed back.
Trait Implementations§
Source§impl Clone for SecretStoreParams
impl Clone for SecretStoreParams
Source§impl Debug for SecretStoreParams
impl Debug for SecretStoreParams
Source§impl<'de> Deserialize<'de> for SecretStoreParams
impl<'de> Deserialize<'de> for SecretStoreParams
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 SecretStoreParams
Source§impl PartialEq for SecretStoreParams
impl PartialEq for SecretStoreParams
Source§impl Serialize for SecretStoreParams
impl Serialize for SecretStoreParams
impl StructuralPartialEq for SecretStoreParams
Auto Trait Implementations§
impl Freeze for SecretStoreParams
impl RefUnwindSafe for SecretStoreParams
impl Send for SecretStoreParams
impl Sync for SecretStoreParams
impl Unpin for SecretStoreParams
impl UnsafeUnpin for SecretStoreParams
impl UnwindSafe for SecretStoreParams
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.