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: String
Signed exchange signature label.
signature: String
The hex string of signed exchange signature.
integrity: String
Signed 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: String
Signed exchange signature validity Url.
date: i64
Signed exchange signature date.
expires: i64
Signed 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 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 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<SignedExchangeSignature, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SignedExchangeSignature, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more