Struct stund_protocol::OpenParameters
source · pub struct OpenParameters {
pub host: String,
}
Expand description
Parameters to the “Open” command.
This command takes only a single parameter. The model of stund
is that
configuration of details like usernames should be done via the
$HOME/.ssh/config
file, and so are not needed here.
Fields
host: String
The hostname to which to connect.
Trait Implementations
sourceimpl Debug for OpenParameters
impl Debug for OpenParameters
sourceimpl<'de> Deserialize<'de> for OpenParameters
impl<'de> Deserialize<'de> for OpenParameters
sourcefn 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
sourceimpl PartialEq<OpenParameters> for OpenParameters
impl PartialEq<OpenParameters> for OpenParameters
sourcefn eq(&self, other: &OpenParameters) -> bool
fn eq(&self, other: &OpenParameters) -> bool
sourceimpl Serialize for OpenParameters
impl Serialize for OpenParameters
impl StructuralPartialEq for OpenParameters
Auto Trait Implementations
impl RefUnwindSafe for OpenParameters
impl Send for OpenParameters
impl Sync for OpenParameters
impl Unpin for OpenParameters
impl UnwindSafe for OpenParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more