pub struct SignedExchangeSignature { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security and experimental only.Expand description
Information about a signed exchange signature. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
Implementations§
Source§impl SignedExchangeSignature
impl SignedExchangeSignature
pub fn builder() -> SignedExchangeSignatureBuilder
Sourcepub fn cert_sha256(&self) -> Option<&String>
pub fn cert_sha256(&self) -> Option<&String>
The hex string of signed exchange signature cert sha256.
Sourcepub fn validity_url(&self) -> &str
pub fn validity_url(&self) -> &str
Signed exchange signature validity Url.
Sourcepub fn certificates(&self) -> Option<&Vec<String>>
pub fn certificates(&self) -> Option<&Vec<String>>
The encoded certificates.
Trait Implementations§
Source§impl Clone for SignedExchangeSignature
impl Clone for SignedExchangeSignature
Source§fn clone(&self) -> SignedExchangeSignature
fn clone(&self) -> SignedExchangeSignature
Returns a duplicate 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 SignedExchangeSignature
impl Debug for SignedExchangeSignature
Source§impl<'de> Deserialize<'de> for SignedExchangeSignature
impl<'de> Deserialize<'de> for SignedExchangeSignature
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
Auto Trait Implementations§
impl Freeze for SignedExchangeSignature
impl RefUnwindSafe for SignedExchangeSignature
impl Send for SignedExchangeSignature
impl Sync for SignedExchangeSignature
impl Unpin for SignedExchangeSignature
impl UnwindSafe for SignedExchangeSignature
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