pub struct InputBoxOptionsDTO {
pub Title: Option<String>,
pub PlaceHolder: Option<String>,
pub Value: Option<String>,
pub Prompt: Option<String>,
pub IsPassword: Option<bool>,
pub IgnoreFocusOut: Option<bool>,
}Expand description
A serializable struct that holds all configuration options for a user input box.
Fields§
§Title: Option<String>An optional title for the input box window.
PlaceHolder: Option<String>Placeholder text to show in the input field when it is empty.
Value: Option<String>An initial value to populate in the input field.
Prompt: Option<String>A descriptive prompt message shown to the user.
IsPassword: Option<bool>If true, the input will be masked (e.g., for passwords).
IgnoreFocusOut: Option<bool>If true, the input box will not close when it loses focus.
Trait Implementations§
Source§impl Clone for InputBoxOptionsDTO
impl Clone for InputBoxOptionsDTO
Source§fn clone(&self) -> InputBoxOptionsDTO
fn clone(&self) -> InputBoxOptionsDTO
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 InputBoxOptionsDTO
impl Debug for InputBoxOptionsDTO
Source§impl Default for InputBoxOptionsDTO
impl Default for InputBoxOptionsDTO
Source§fn default() -> InputBoxOptionsDTO
fn default() -> InputBoxOptionsDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputBoxOptionsDTO
impl<'de> Deserialize<'de> for InputBoxOptionsDTO
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 InputBoxOptionsDTO
impl RefUnwindSafe for InputBoxOptionsDTO
impl Send for InputBoxOptionsDTO
impl Sync for InputBoxOptionsDTO
impl Unpin for InputBoxOptionsDTO
impl UnwindSafe for InputBoxOptionsDTO
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