pub struct RemoteCred {
pub host: String,
pub user: String,
pub password: Option<String>,
pub port: u64,
pub key: Option<String>,
}Fields§
§host: String§user: String§password: Option<String>§port: u64§key: Option<String>Optional path to an SSH private key (alternative to password).
Trait Implementations§
Source§impl Clone for RemoteCred
impl Clone for RemoteCred
Source§fn clone(&self) -> RemoteCred
fn clone(&self) -> RemoteCred
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 RemoteCred
impl Debug for RemoteCred
Source§impl<'de> Deserialize<'de> for RemoteCred
impl<'de> Deserialize<'de> for RemoteCred
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
Auto Trait Implementations§
impl Freeze for RemoteCred
impl RefUnwindSafe for RemoteCred
impl Send for RemoteCred
impl Sync for RemoteCred
impl Unpin for RemoteCred
impl UnsafeUnpin for RemoteCred
impl UnwindSafe for RemoteCred
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