pub struct SshTargetDetails {
pub host: Option<String>,
pub password: Option<String>,
pub port: Option<String>,
pub private_key: Option<String>,
pub private_key_password: Option<String>,
pub username: Option<String>,
}Fields§
§host: Option<String>§password: Option<String>§port: Option<String>§private_key: Option<String>§private_key_password: Option<String>§username: Option<String>Implementations§
Source§impl SshTargetDetails
impl SshTargetDetails
pub fn new() -> SshTargetDetails
Trait Implementations§
Source§impl Clone for SshTargetDetails
impl Clone for SshTargetDetails
Source§fn clone(&self) -> SshTargetDetails
fn clone(&self) -> SshTargetDetails
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SshTargetDetails
impl Debug for SshTargetDetails
Source§impl Default for SshTargetDetails
impl Default for SshTargetDetails
Source§fn default() -> SshTargetDetails
fn default() -> SshTargetDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SshTargetDetails
impl<'de> Deserialize<'de> for SshTargetDetails
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SshTargetDetails
impl PartialEq for SshTargetDetails
Source§fn eq(&self, other: &SshTargetDetails) -> bool
fn eq(&self, other: &SshTargetDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SshTargetDetails
impl Serialize for SshTargetDetails
impl StructuralPartialEq for SshTargetDetails
Auto Trait Implementations§
impl Freeze for SshTargetDetails
impl RefUnwindSafe for SshTargetDetails
impl Send for SshTargetDetails
impl Sync for SshTargetDetails
impl Unpin for SshTargetDetails
impl UnsafeUnpin for SshTargetDetails
impl UnwindSafe for SshTargetDetails
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