pub struct Prompt {
pub attributes: PromptAttributes,
}Fields§
§attributes: PromptAttributesImplementations§
Source§impl Prompt
impl Prompt
pub fn new() -> Self
pub fn with_attributes(attributes: PromptAttributes) -> Self
pub fn for_attr(self, for_attr: impl Into<String>) -> Self
pub fn attempt(self, attempt: Vec<u32>) -> Self
pub fn card_type(self, card_type: Vec<String>) -> Self
pub fn error_type(self, error_type: Vec<String>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Prompt
impl RefUnwindSafe for Prompt
impl Send for Prompt
impl Sync for Prompt
impl Unpin for Prompt
impl UnwindSafe for Prompt
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