Struct libssh_rs::InteractiveAuthPrompt
source · pub struct InteractiveAuthPrompt {
pub prompt: String,
pub echo: bool,
}Expand description
Represents a question prompt in keyboard-interactive auth
Fields§
§prompt: StringThe prompt to show to the user
echo: boolIf 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<InteractiveAuthPrompt> for InteractiveAuthPrompt
impl PartialEq<InteractiveAuthPrompt> for InteractiveAuthPrompt
source§fn eq(&self, other: &InteractiveAuthPrompt) -> bool
fn eq(&self, other: &InteractiveAuthPrompt) -> bool
This method tests for
self and other values to be equal, and is used
by ==.