pub struct SignedExchangeSignature {
pub label: String,
pub signature: String,
pub integrity: String,
pub certUrl: Option<String>,
pub certSha256: Option<String>,
pub validityUrl: 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
Fields§
§label: StringSigned exchange signature label.
signature: StringThe hex string of signed exchange signature.
integrity: StringSigned exchange signature integrity.
certUrl: Option<String>Signed exchange signature cert Url.
certSha256: Option<String>The hex string of signed exchange signature cert sha256.
validityUrl: StringSigned exchange signature validity Url.
date: i64Signed exchange signature date.
expires: i64Signed exchange signature expires.
certificates: 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 Default for SignedExchangeSignature
impl Default for SignedExchangeSignature
Source§fn default() -> SignedExchangeSignature
fn default() -> SignedExchangeSignature
Returns the “default value” for a type. Read more
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 UnsafeUnpin 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