pub struct TextInput {
pub text: String,
pub prompt_name: Option<String>,
pub title: Option<String>,
pub prompt: Option<String>,
}Expand description
One text to embed.
Fields§
§text: String§prompt_name: Option<String>§title: Option<String>§prompt: Option<String>a raw prefix, instead of a named prompt
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextInput
impl RefUnwindSafe for TextInput
impl Send for TextInput
impl Sync for TextInput
impl Unpin for TextInput
impl UnsafeUnpin for TextInput
impl UnwindSafe for TextInput
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