Struct libssh_rs::InteractiveAuthInfo
source · pub struct InteractiveAuthInfo {
pub instruction: String,
pub name: String,
pub prompts: Vec<InteractiveAuthPrompt>,
}Expand description
Represents the overall set of instructions in keyboard-interactive auth
Fields§
§instruction: StringAn overall set of instructions. May be empty.
name: StringThe session name. May be empty.
prompts: Vec<InteractiveAuthPrompt>The set of prompts for information that need answers before authentication can succeed.
Trait Implementations§
source§impl Clone for InteractiveAuthInfo
impl Clone for InteractiveAuthInfo
source§fn clone(&self) -> InteractiveAuthInfo
fn clone(&self) -> InteractiveAuthInfo
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 InteractiveAuthInfo
impl Debug for InteractiveAuthInfo
source§impl PartialEq<InteractiveAuthInfo> for InteractiveAuthInfo
impl PartialEq<InteractiveAuthInfo> for InteractiveAuthInfo
source§fn eq(&self, other: &InteractiveAuthInfo) -> bool
fn eq(&self, other: &InteractiveAuthInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.