pub struct SignedExchangeSignature {
pub label: String,
pub signature: String,
pub integrity: String,
pub cert_url: Option<String>,
pub cert_sha256: Option<String>,
pub validity_url: String,
pub date: i64,
pub expires: i64,
pub certificates: Option<Vec<String>>,
}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 SignedExchangeSignature
Fields§
§label: StringSigned exchange signature label.
signature: StringThe hex string of signed exchange signature.
integrity: StringSigned exchange signature integrity.
cert_url: Option<String>Signed exchange signature cert Url.
cert_sha256: Option<String>The hex string of signed exchange signature cert sha256.
validity_url: StringSigned exchange signature validity Url.
date: i64Signed exchange signature date.
expires: i64Signed exchange signature expires.
certificates: Option<Vec<String>>The encoded certificates.
Implementations§
Source§impl SignedExchangeSignature
impl SignedExchangeSignature
pub const IDENTIFIER: &'static str = "Network.SignedExchangeSignature"
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
Source§impl PartialEq for SignedExchangeSignature
impl PartialEq for SignedExchangeSignature
Source§impl Serialize for SignedExchangeSignature
impl Serialize for SignedExchangeSignature
impl StructuralPartialEq for SignedExchangeSignature
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