#[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,
}
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.