pub struct SecurePromptConfig {
pub label: String,
pub placeholder: Option<String>,
pub mask_input: bool,
}Expand description
Configuration for a secure (masked) prompt input.
Fields§
§label: String§placeholder: Option<String>Optional placeholder shown when input is empty.
mask_input: boolWhether the input should be masked (e.g., API keys).
Trait Implementations§
Source§impl Clone for SecurePromptConfig
impl Clone for SecurePromptConfig
Auto Trait Implementations§
impl Freeze for SecurePromptConfig
impl RefUnwindSafe for SecurePromptConfig
impl Send for SecurePromptConfig
impl Sync for SecurePromptConfig
impl Unpin for SecurePromptConfig
impl UnsafeUnpin for SecurePromptConfig
impl UnwindSafe for SecurePromptConfig
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