pub struct SecretKeyDefinition {
pub key: String,
pub label: String,
pub placeholder: String,
pub required: bool,
}Expand description
Defines a single secret key requirement
Fields§
§key: StringThe environment variable / secret store key (e.g., “OPENAI_API_KEY”)
label: StringHuman-readable label
placeholder: StringPlaceholder for UI input
required: boolWhether this secret is required (vs optional)
Trait Implementations§
Source§impl Clone for SecretKeyDefinition
impl Clone for SecretKeyDefinition
Source§fn clone(&self) -> SecretKeyDefinition
fn clone(&self) -> SecretKeyDefinition
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 SecretKeyDefinition
impl Debug for SecretKeyDefinition
Source§impl<'de> Deserialize<'de> for SecretKeyDefinition
impl<'de> Deserialize<'de> for SecretKeyDefinition
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 SecretKeyDefinition
impl RefUnwindSafe for SecretKeyDefinition
impl Send for SecretKeyDefinition
impl Sync for SecretKeyDefinition
impl Unpin for SecretKeyDefinition
impl UnsafeUnpin for SecretKeyDefinition
impl UnwindSafe for SecretKeyDefinition
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