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 Forget for SecurePromptConfig
impl Freeze for SecurePromptConfig
impl Move for SecurePromptConfig
impl RefUnwindSafe for SecurePromptConfig
impl Send for SecurePromptConfigwhere
RawVecInner: Send,
impl Sync for SecurePromptConfigwhere
RawVecInner: Sync,
impl Unpin for SecurePromptConfig
impl UnsafeUnpin for SecurePromptConfig
impl UnwindSafe for SecurePromptConfigwhere
RawVecInner: UnwindSafe,
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