pub struct PromptAttributes {
pub attempt: Option<Vec<u32>>,
pub card_type: Option<Vec<String>>,
pub error_type: Option<Vec<String>>,
pub for_attr: Option<String>,
pub require_matching_inputs: Option<bool>,
}Fields§
§attempt: Option<Vec<u32>>§card_type: Option<Vec<String>>§error_type: Option<Vec<String>>§for_attr: Option<String>§require_matching_inputs: Option<bool>Trait Implementations§
Source§impl Clone for PromptAttributes
impl Clone for PromptAttributes
Source§fn clone(&self) -> PromptAttributes
fn clone(&self) -> PromptAttributes
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 PromptAttributes
impl Debug for PromptAttributes
Source§impl Default for PromptAttributes
impl Default for PromptAttributes
Source§fn default() -> PromptAttributes
fn default() -> PromptAttributes
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PromptAttributes
impl RefUnwindSafe for PromptAttributes
impl Send for PromptAttributes
impl Sync for PromptAttributes
impl Unpin for PromptAttributes
impl UnwindSafe for PromptAttributes
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