pub struct SshKeys { /* private fields */ }
Expand description
An SshKeys
stores the SSH keys for the remote repository.
Implementations§
Source§impl SshKeys
impl SshKeys
Sourcepub fn set_public(&mut self, val: String) -> &mut Self
pub fn set_public(&mut self, val: String) -> &mut Self
public key
Sourcepub fn set_private(&mut self, val: String) -> &mut Self
pub fn set_private(&mut self, val: String) -> &mut Self
private key
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SshKeys
impl<'de> Deserialize<'de> for SshKeys
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 SshKeys
impl RefUnwindSafe for SshKeys
impl Send for SshKeys
impl Sync for SshKeys
impl Unpin for SshKeys
impl UnwindSafe for SshKeys
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