pub struct CollectInputsTerminalReaderInputsCustomText {
pub description: Option<String>,
pub skip_button: Option<String>,
pub submit_button: Option<String>,
pub title: String,
}Expand description
Customize the text which will be displayed while collecting this input
Fields§
§description: Option<String>The description which will be displayed when collecting this input
Custom text for the skip button. Maximum 14 characters.
Custom text for the submit button. Maximum 30 characters.
title: StringThe title which will be displayed when collecting this input
Implementations§
Trait Implementations§
Source§impl Clone for CollectInputsTerminalReaderInputsCustomText
impl Clone for CollectInputsTerminalReaderInputsCustomText
Source§fn clone(&self) -> CollectInputsTerminalReaderInputsCustomText
fn clone(&self) -> CollectInputsTerminalReaderInputsCustomText
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for CollectInputsTerminalReaderInputsCustomText
impl PartialEq for CollectInputsTerminalReaderInputsCustomText
Source§fn eq(&self, other: &CollectInputsTerminalReaderInputsCustomText) -> bool
fn eq(&self, other: &CollectInputsTerminalReaderInputsCustomText) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CollectInputsTerminalReaderInputsCustomText
impl StructuralPartialEq for CollectInputsTerminalReaderInputsCustomText
Auto Trait Implementations§
impl Freeze for CollectInputsTerminalReaderInputsCustomText
impl RefUnwindSafe for CollectInputsTerminalReaderInputsCustomText
impl Send for CollectInputsTerminalReaderInputsCustomText
impl Sync for CollectInputsTerminalReaderInputsCustomText
impl Unpin for CollectInputsTerminalReaderInputsCustomText
impl UnsafeUnpin for CollectInputsTerminalReaderInputsCustomText
impl UnwindSafe for CollectInputsTerminalReaderInputsCustomText
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