#[repr(C)]
pub struct git_cert_hostkey { pub parent: git_cert, pub kind: git_cert_ssh_t, pub hash_md5: [u8; 16], pub hash_sha1: [u8; 20], pub hash_sha256: [u8; 32], pub raw_type: git_cert_ssh_raw_type_t, pub hostkey: *const c_char, pub hostkey_len: size_t, }

Fields§

§parent: git_cert§kind: git_cert_ssh_t§hash_md5: [u8; 16]§hash_sha1: [u8; 20]§hash_sha256: [u8; 32]§raw_type: git_cert_ssh_raw_type_t§hostkey: *const c_char§hostkey_len: size_t

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.