pub struct UserPromptState {
pub prompt: UserPrompt,
pub phase: UserPromptPhase,
}Fields§
§prompt: UserPrompt§phase: UserPromptPhaseImplementations§
Source§impl UserPromptState
impl UserPromptState
pub fn new(prompt: UserPrompt) -> Self
Trait Implementations§
Source§impl Clone for UserPromptState
impl Clone for UserPromptState
Source§fn clone(&self) -> UserPromptState
fn clone(&self) -> UserPromptState
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 moreAuto Trait Implementations§
impl Freeze for UserPromptState
impl RefUnwindSafe for UserPromptState
impl Send for UserPromptState
impl Sync for UserPromptState
impl Unpin for UserPromptState
impl UnsafeUnpin for UserPromptState
impl UnwindSafe for UserPromptState
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