pub struct ProxySecretsConfig {
pub cache_ttl_secs: u64,
}Expand description
Secure-store configuration for proxy authentication tokens.
Fields§
§cache_ttl_secs: u64TTL (seconds) for the in-memory cache on top of the OS keychain.
0 disables caching and forces a keychain lookup on every call
(safer, but slower and may trigger repeated UI prompts on macOS).
Default: 300 (5 minutes).
Implementations§
Source§impl ProxySecretsConfig
impl ProxySecretsConfig
pub fn is_default(&self) -> bool
Trait Implementations§
Source§impl Clone for ProxySecretsConfig
impl Clone for ProxySecretsConfig
Source§fn clone(&self) -> ProxySecretsConfig
fn clone(&self) -> ProxySecretsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProxySecretsConfig
impl Debug for ProxySecretsConfig
Source§impl Default for ProxySecretsConfig
impl Default for ProxySecretsConfig
Source§impl<'de> Deserialize<'de> for ProxySecretsConfig
impl<'de> Deserialize<'de> for ProxySecretsConfig
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
Auto Trait Implementations§
impl Freeze for ProxySecretsConfig
impl RefUnwindSafe for ProxySecretsConfig
impl Send for ProxySecretsConfig
impl Sync for ProxySecretsConfig
impl Unpin for ProxySecretsConfig
impl UnsafeUnpin for ProxySecretsConfig
impl UnwindSafe for ProxySecretsConfig
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