Struct openssh_sftp_protocol::response::ServerVersion
source · pub struct ServerVersion {
pub version: u32,
pub extensions: Extensions,
}
Fields§
§version: u32
§extensions: Extensions
Implementations§
source§impl ServerVersion
impl ServerVersion
sourcepub fn deserialize<'de, It>(de: &mut Deserializer<'de, It>) -> Result<Self>where
It: FusedIterator + Iterator<Item = &'de [u8]>,
pub fn deserialize<'de, It>(de: &mut Deserializer<'de, It>) -> Result<Self>where It: FusedIterator + Iterator<Item = &'de [u8]>,
bytes
- should not include the initial 4-byte which server as the length of the whole packet.
Trait Implementations§
source§impl Clone for ServerVersion
impl Clone for ServerVersion
source§fn clone(&self) -> ServerVersion
fn clone(&self) -> ServerVersion
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 more