pub struct InteractiveAuthPrompt {
pub prompt: String,
pub echo: bool,
}
Expand description
Represents a question prompt in keyboard-interactive auth
Fields§
§prompt: String
The prompt to show to the user
echo: bool
If true
, echo the user’s answer to the screen.
If false
, conceal it, as it is secret/sensitive.
Trait Implementations§
Source§impl Clone for InteractiveAuthPrompt
impl Clone for InteractiveAuthPrompt
Source§fn clone(&self) -> InteractiveAuthPrompt
fn clone(&self) -> InteractiveAuthPrompt
Returns a copy 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 InteractiveAuthPrompt
impl Debug for InteractiveAuthPrompt
Source§impl PartialEq for InteractiveAuthPrompt
impl PartialEq for InteractiveAuthPrompt
impl Eq for InteractiveAuthPrompt
impl StructuralPartialEq for InteractiveAuthPrompt
Auto Trait Implementations§
impl Freeze for InteractiveAuthPrompt
impl RefUnwindSafe for InteractiveAuthPrompt
impl Send for InteractiveAuthPrompt
impl Sync for InteractiveAuthPrompt
impl Unpin for InteractiveAuthPrompt
impl UnwindSafe for InteractiveAuthPrompt
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