pub struct SshAuthPrompt {
pub prompt: String,
pub echo: bool,
}Expand description
Represents a singular authentication prompt for a new ssh client
Fields§
§prompt: StringThe label to show when prompting the user
echo: boolIf 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 Freeze for SshAuthPrompt
impl RefUnwindSafe for SshAuthPrompt
impl Send for SshAuthPrompt
impl Sync for SshAuthPrompt
impl Unpin for SshAuthPrompt
impl UnwindSafe for SshAuthPrompt
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