Struct webrtc::dtls_transport::dtls_fingerprint::RTCDtlsFingerprint
source · pub struct RTCDtlsFingerprint {
pub algorithm: String,
pub value: String,
}
Expand description
DTLSFingerprint specifies the hash function algorithm and certificate fingerprint as described in https://tools.ietf.org/html/rfc4572.
Fields§
§algorithm: String
Algorithm specifies one of the the hash function algorithms defined in the ‘Hash function Textual Names’ registry.
value: String
Value specifies the value of the certificate fingerprint in lowercase hex string as expressed utilizing the syntax of ‘fingerprint’ in https://tools.ietf.org/html/rfc4572#section-5.
Trait Implementations§
source§impl Clone for RTCDtlsFingerprint
impl Clone for RTCDtlsFingerprint
source§fn clone(&self) -> RTCDtlsFingerprint
fn clone(&self) -> RTCDtlsFingerprint
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 RTCDtlsFingerprint
impl Debug for RTCDtlsFingerprint
source§impl Default for RTCDtlsFingerprint
impl Default for RTCDtlsFingerprint
source§fn default() -> RTCDtlsFingerprint
fn default() -> RTCDtlsFingerprint
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RTCDtlsFingerprint
impl<'de> Deserialize<'de> for RTCDtlsFingerprint
source§fn 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