Struct ssh2_patched::Prompt
source · [−]Expand description
A prompt/challenge returned as part of keyboard-interactive authentication
Fields
text: Cow<'a, str>
The label to show when prompting the user
echo: bool
If true, the response that the user inputs should be displayed as they type. If false then treat it as a password entry and do not display what is typed in response to this prompt.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Prompt<'a>
impl<'a> Send for Prompt<'a>
impl<'a> Sync for Prompt<'a>
impl<'a> Unpin for Prompt<'a>
impl<'a> UnwindSafe for Prompt<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more