Struct retina_core::protocols::stream::ssh::SshVersionExchange
source · pub struct SshVersionExchange {
pub protoversion: Option<String>,
pub softwareversion: Option<String>,
pub comments: Option<String>,
}
Expand description
A parsed SSH Protocol Version Exchange message.
Fields§
§protoversion: Option<String>
§softwareversion: Option<String>
§comments: Option<String>
Trait Implementations§
source§impl Clone for SshVersionExchange
impl Clone for SshVersionExchange
source§fn clone(&self) -> SshVersionExchange
fn clone(&self) -> SshVersionExchange
Returns a copy of the value. Read more
1.0.0 · 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 SshVersionExchange
impl Debug for SshVersionExchange
source§impl Default for SshVersionExchange
impl Default for SshVersionExchange
source§fn default() -> SshVersionExchange
fn default() -> SshVersionExchange
Returns the “default value” for a type. Read more
source§impl PartialEq for SshVersionExchange
impl PartialEq for SshVersionExchange
source§fn eq(&self, other: &SshVersionExchange) -> bool
fn eq(&self, other: &SshVersionExchange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SshVersionExchange
impl Serialize for SshVersionExchange
impl StructuralPartialEq for SshVersionExchange
Auto Trait Implementations§
impl Freeze for SshVersionExchange
impl RefUnwindSafe for SshVersionExchange
impl Send for SshVersionExchange
impl Sync for SshVersionExchange
impl Unpin for SshVersionExchange
impl UnwindSafe for SshVersionExchange
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more