pub struct ProviderSecretDefinition {
pub id: String,
pub label: String,
pub keys: Vec<SecretKeyDefinition>,
}Expand description
Defines the secret requirements for a provider
Fields§
§id: StringProvider identifier (e.g., “openai”, “anthropic”)
label: StringHuman-readable label
keys: Vec<SecretKeyDefinition>List of required secret keys with metadata
Trait Implementations§
Source§impl Clone for ProviderSecretDefinition
impl Clone for ProviderSecretDefinition
Source§fn clone(&self) -> ProviderSecretDefinition
fn clone(&self) -> ProviderSecretDefinition
Returns a duplicate 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 moreSource§impl Debug for ProviderSecretDefinition
impl Debug for ProviderSecretDefinition
Source§impl<'de> Deserialize<'de> for ProviderSecretDefinition
impl<'de> Deserialize<'de> for ProviderSecretDefinition
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 ProviderSecretDefinition
impl RefUnwindSafe for ProviderSecretDefinition
impl Send for ProviderSecretDefinition
impl Sync for ProviderSecretDefinition
impl Unpin for ProviderSecretDefinition
impl UnsafeUnpin for ProviderSecretDefinition
impl UnwindSafe for ProviderSecretDefinition
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