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: String
An overall set of instructions. May be empty.
name: String
The 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 ==
.impl Eq for InteractiveAuthInfo
impl StructuralEq for InteractiveAuthInfo
impl StructuralPartialEq for InteractiveAuthInfo
Auto Trait Implementations§
impl RefUnwindSafe for InteractiveAuthInfo
impl Send for InteractiveAuthInfo
impl Sync for InteractiveAuthInfo
impl Unpin for InteractiveAuthInfo
impl UnwindSafe for InteractiveAuthInfo
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