pub struct CertHashRef<'a> {
pub algorithm: &'a str,
pub value: &'a [u8],
}
Expand description
Represents the following object:
{
"algorithm": "<algorithm>",
"value": ArrayBuffer(<value>)
}
Use sha-256
algorithm
for SHA-256.
Fields§
§algorithm: &'a str
§value: &'a [u8]
Trait Implementations§
Source§impl<'a> Debug for CertHashRef<'a>
impl<'a> Debug for CertHashRef<'a>
Source§impl<'a> From<CertHashRef<'a>> for JsValue
impl<'a> From<CertHashRef<'a>> for JsValue
Source§fn from(cert_hash: CertHashRef<'a>) -> Self
fn from(cert_hash: CertHashRef<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<CertHashRef<'a>> for Object
impl<'a> From<CertHashRef<'a>> for Object
Source§fn from(cert_hash: CertHashRef<'a>) -> Self
fn from(cert_hash: CertHashRef<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<CertHashRef<'a>> for WebTransportHash
impl<'a> From<CertHashRef<'a>> for WebTransportHash
Source§fn from(cert_hash: CertHashRef<'a>) -> Self
fn from(cert_hash: CertHashRef<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for CertHashRef<'a>
impl<'a> RefUnwindSafe for CertHashRef<'a>
impl<'a> Send for CertHashRef<'a>
impl<'a> Sync for CertHashRef<'a>
impl<'a> Unpin for CertHashRef<'a>
impl<'a> UnwindSafe for CertHashRef<'a>
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