pub struct Password {
pub secret: String,
pub askpass_dir: PathBuf,
}Expand description
A password ssh is answered with, through its askpass hook: a script written into askpass_dir
(the caller’s own folder, never a shared temporary one) that prints the password ssh is given
in its environment. Never shown by Debug.
Fields§
§secret: StringThe password.
askpass_dir: PathBufThe folder the askpass script is written to.
Trait Implementations§
impl Eq for Password
impl StructuralPartialEq for Password
Auto Trait Implementations§
impl Forget for Password
impl Freeze for Password
impl Move for Password
impl RefUnwindSafe for Password
impl Send for Passwordwhere
RawVecInner: Send,
impl Sync for Passwordwhere
RawVecInner: Sync,
impl Unpin for Password
impl UnsafeUnpin for Password
impl UnwindSafe for Passwordwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.